Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index d8cc42cd186fccd490f95a55f49517719344030c..f162d2da1a5841b69f49824293792fbf6fe846cb 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -225,7 +225,8 @@ public: |
const char* colorFilterColorUniName = NULL; |
if (fp.cast<ModeColorFilterEffect>().willUseFilterColor()) { |
fFilterColorUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kVec4f_GrSLType, "FilterColor", |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
+ "FilterColor", |
&colorFilterColorUniName); |
} |