aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-06 13:12:38 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-06 13:12:38 +0000
commit0292935cd4cdad59d6151acdadb00a77e1945cd9 (patch)
tree1472912be717f8d802fd712d22b532b6530bfa23 /gpu
parent0aa6c3e212449a494784ecbffcb70b1edff0a7ec (diff)
remove unused var, fixes warning
git-svn-id: http://skia.googlecode.com/svn/trunk@1265 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu')
-rw-r--r--gpu/src/GrGpuGLShaders.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpu/src/GrGpuGLShaders.cpp b/gpu/src/GrGpuGLShaders.cpp
index c977ea4c7e..b914221946 100644
--- a/gpu/src/GrGpuGLShaders.cpp
+++ b/gpu/src/GrGpuGLShaders.cpp
@@ -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];