diff options
-rw-r--r-- | src/gpu/gl/GrGLProgram.cpp | 2 | ||||
-rw-r--r-- | src/gpu/gl/GrGLProgram.h | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index 4f5ea65e2d..8c12ad6c7d 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -1167,8 +1167,6 @@ void GrGLProgram::getUniformLocationsAndInitCache(const GrGLContextInfo& gl, GL_CALL(Uniform1i(programData->fUniLocations.fStages[s].fSamplerUni, s)); } programData->fTextureMatrices[s] = GrMatrix::InvalidMatrix(); - programData->fTextureWidth[s] = -1; - programData->fTextureHeight[s] = -1; programData->fTextureDomain[s].setEmpty(); // this is arbitrary, just initialize to something programData->fTextureOrientation[s] = diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h index 026a8548a1..8edb500941 100644 --- a/src/gpu/gl/GrGLProgram.h +++ b/src/gpu/gl/GrGLProgram.h @@ -311,9 +311,6 @@ public: GrColor fCoverage; GrColor fColorFilterColor; GrMatrix fTextureMatrices[GrDrawState::kNumStages]; - // width and height used for normalized texel size - int fTextureWidth[GrDrawState::kNumStages]; - int fTextureHeight[GrDrawState::kNumStages]; GrRect fTextureDomain[GrDrawState::kNumStages]; // The texture domain and texture matrix sent to GL depend upon the // orientation. |