Index: src/gpu/GrPathProcessor.cpp |
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp |
index 405152cea84bd9baa06690e49b18d8aef7f91278..cb33010f7e7dec60e685a184169dcaca72d34ff5 100644 |
--- a/src/gpu/GrPathProcessor.cpp |
+++ b/src/gpu/GrPathProcessor.cpp |
@@ -35,12 +35,11 @@ public: |
// Setup uniform color |
if (pathProc.overrides().readsColor()) { |
const char* stagedLocalVarName; |
- fColorUniform = args.fUniformHandler->addUniform( |
- GrGLSLUniformHandler::kFragment_Visibility, |
- kVec4f_GrSLType, |
- kDefault_GrSLPrecision, |
- "Color", |
- &stagedLocalVarName); |
+ fColorUniform = args.fUniformHandler->addUniform(kFragment_GrShaderFlag, |
+ kVec4f_GrSLType, |
+ kDefault_GrSLPrecision, |
+ "Color", |
+ &stagedLocalVarName); |
fragBuilder->codeAppendf("%s = %s;", args.fOutputColor, stagedLocalVarName); |
} |