Index: src/gpu/GrFragmentProcessor.cpp |
diff --git a/src/gpu/GrFragmentProcessor.cpp b/src/gpu/GrFragmentProcessor.cpp |
index ca2298c663c796ce0a728c0773ab78876efd6ab4..571f78da113b3404ba370635aac1583273b59de4 100644 |
--- a/src/gpu/GrFragmentProcessor.cpp |
+++ b/src/gpu/GrFragmentProcessor.cpp |
@@ -226,10 +226,10 @@ const GrFragmentProcessor* GrFragmentProcessor::OverrideInput(const GrFragmentPr |
GLFP() : fHaveSetColor(false) {} |
void emitCode(EmitArgs& args) override { |
const char* colorName; |
- fColorUni = args.fUniformHandler->addUniform( |
- GrGLSLUniformHandler::kFragment_Visibility, |
- kVec4f_GrSLType, kDefault_GrSLPrecision, |
- "Color", &colorName); |
+ fColorUni = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, |
+ kVec4f_GrSLType, |
+ kDefault_GrSLPrecision, |
+ "Color", &colorName); |
this->emitChild(0, colorName, args); |
} |