Index: src/gpu/effects/GrSingleTextureEffect.h |
=================================================================== |
--- src/gpu/effects/GrSingleTextureEffect.h (revision 8417) |
+++ src/gpu/effects/GrSingleTextureEffect.h (working copy) |
@@ -54,9 +54,9 @@ |
* texture. |
*/ |
void updateConstantColorComponentsForModulation(GrColor* color, uint32_t* validFlags) const { |
- if ((*validFlags & kA_ValidComponentFlag) && 0xFF == GrColorUnpackA(*color) && |
+ if ((*validFlags & kA_GrColorComponentFlag) && 0xFF == GrColorUnpackA(*color) && |
GrPixelConfigIsOpaque(this->texture(0)->config())) { |
- *validFlags = kA_ValidComponentFlag; |
+ *validFlags = kA_GrColorComponentFlag; |
} else { |
*validFlags = 0; |
} |