aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLEffectMatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLEffectMatrix.cpp')
-rw-r--r--src/gpu/gl/GrGLEffectMatrix.cpp2
1 files changed, 1 insertions, 1 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) {