aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-14 14:36:40 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-14 14:36:40 +0000
commit61be7946ed4c351fa3f71a407243d3cd024d9924 (patch)
tree0a56fea1f670de5eb4e15c8ca0c3226efeff8c90
parent0263fcd72ee81ccff012bff85dbee89cd524a930 (diff)
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
-rw-r--r--src/effects/SkTableColorFilter.cpp2
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;