Index: src/gpu/gl/GrGLUniformManager.cpp |
diff --git a/src/gpu/gl/GrGLUniformManager.cpp b/src/gpu/gl/GrGLUniformManager.cpp |
index 55390d5c61770e6a460cd3ab49e1e1e221265905..79895f1e2ef0a5044356ced9dddd551433d76fba 100644 |
--- a/src/gpu/gl/GrGLUniformManager.cpp |
+++ b/src/gpu/gl/GrGLUniformManager.cpp |
@@ -259,10 +259,10 @@ void GrGLUniformManager::getUniformLocations(GrGLuint programID, const BuilderUn |
// TODO: Move the Xoom uniform array in both FS and VS bug workaround here. |
GR_GL_CALL_RET(fContext.interface(), location, |
GetUniformLocation(programID, uniforms[i].fVariable.c_str())); |
- if (GrGLShaderBuilder::kVertex_ShaderType & uniforms[i].fVisibility) { |
+ if (GrGLShaderBuilder::kVertex_Visibility & uniforms[i].fVisibility) { |
fUniforms[i].fVSLocation = location; |
} |
- if (GrGLShaderBuilder::kFragment_ShaderType & uniforms[i].fVisibility) { |
+ if (GrGLShaderBuilder::kFragment_Visibility & uniforms[i].fVisibility) { |
fUniforms[i].fFSLocation = location; |
} |
} |