diff options
-rw-r--r-- | src/effects/SkTableColorFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |