remove unused var, fixes warning
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 6 May 2011 13:12:38 +0000 (13:12 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 6 May 2011 13:12:38 +0000 (13:12 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@1265 2bbb7eff-a529-9590-31e7-b0007b416f81

gpu/src/GrGpuGLShaders.cpp

index c977ea4..b914221 100644 (file)
@@ -374,7 +374,6 @@ void GrGpuGLShaders::flushRadial2(int s) {
 }
 
 void GrGpuGLShaders::flushTexelSize(int s) {
-    const GrSamplerState& sampler = fCurrDrawState.fSamplerStates[s];
     const int& uni = fProgramData->fUniLocations.fStages[s].fNormalizedTexelSizeUni;
     if (-1 != uni) {
         GrGLTexture* texture = (GrGLTexture*) fCurrDrawState.fTextures[s];