diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-09 20:47:34 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-09 20:47:34 +0000 |
commit | 72b4fcb587f86bff82f8ccf687376a932a08b1e6 (patch) | |
tree | 7d7c0a726ec13d6549da91691d5ccb59cf8b6686 | |
parent | 822968fc66f2d88cb3e600924c168d4278ebcbd2 (diff) |
Fix unused var warning
git-svn-id: http://skia.googlecode.com/svn/trunk@1285 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/src/GrGLProgram.cpp | 4 |
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, |