From 61be7946ed4c351fa3f71a407243d3cd024d9924 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 14 Jan 2013 14:36:40 +0000 Subject: Fix typo bug caught by mac warn-as-error (= should have been &=). git-svn-id: http://skia.googlecode.com/svn/trunk@7148 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/effects/SkTableColorFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/effects') diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp index 2577cb4b76..6713c203b2 100644 --- a/src/effects/SkTableColorFilter.cpp +++ b/src/effects/SkTableColorFilter.cpp @@ -347,7 +347,7 @@ void ColorTableEffect::getConstantColorComponents(GrColor* color, uint32_t* vali // If we kept the table in the effect then we could actually run known inputs through the // table. if (fFlags & SkTable_ColorFilter::kR_Flag) { - *validFlags = ~kR_ValidComponentFlag; + *validFlags &= ~kR_ValidComponentFlag; } if (fFlags & SkTable_ColorFilter::kG_Flag) { *validFlags &= ~kG_ValidComponentFlag; -- cgit v1.2.3