diff options
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/gl/GrGLEffectMatrix.cpp | 2 | ||||
-rw-r--r-- | src/gpu/gl/debug/GrDebugGL.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLEffectMatrix.cpp b/src/gpu/gl/GrGLEffectMatrix.cpp index e2e8807726..7e7a9c940a 100644 --- a/src/gpu/gl/GrGLEffectMatrix.cpp +++ b/src/gpu/gl/GrGLEffectMatrix.cpp @@ -48,7 +48,7 @@ GrSLType GrGLEffectMatrix::emitCode(GrGLShaderBuilder* builder, const char** fsCoordName, const char** vsCoordName, const char* suffix) { - GrSLType varyingType; + GrSLType varyingType = kVoid_GrSLType; const char* uniName; key &= kKeyMask; switch (key & kMatrixTypeKeyMask) { diff --git a/src/gpu/gl/debug/GrDebugGL.h b/src/gpu/gl/debug/GrDebugGL.h index e1a28bb834..795e388fec 100644 --- a/src/gpu/gl/debug/GrDebugGL.h +++ b/src/gpu/gl/debug/GrDebugGL.h @@ -122,7 +122,6 @@ private: GrGLint fPackRowLength; GrGLint fUnPackRowLength; - GrGLuint fMaxTextureUnits; GrGLuint fCurTextureUnit; GrBufferObj* fArrayBuffer; GrBufferObj* fElementArrayBuffer; |