aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gpu/src/GrGLProgram.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrGLProgram.cpp b/gpu/src/GrGLProgram.cpp
index f0245afe12..abed043735 100644
--- a/gpu/src/GrGLProgram.cpp
+++ b/gpu/src/GrGLProgram.cpp
@@ -446,8 +446,8 @@ bool GrGLProgram::bindAttribsAndLinkProgram(GrStringBuilder texCoordAttrNames[],
}
for (int s = 0; s < GrDrawTarget::kNumStages; ++s) {
- const ProgramDesc::StageDesc& desc = fProgramDesc.fStages[s];
- if (kSetAsAttribute == programData->fUniLocations.fStages[s].fTextureMatrixUni) {
+ const StageUniLocations& unis = programData->fUniLocations.fStages[s];
+ if (kSetAsAttribute == unis.fTextureMatrixUni) {
GrStringBuilder matName;
tex_matrix_name(s, &matName);
GR_GL(BindAttribLocation(progID,