Index: src/gpu/gl/GrGLEffectMatrix.h |
diff --git a/src/gpu/gl/GrGLEffectMatrix.h b/src/gpu/gl/GrGLEffectMatrix.h |
index 56dda4563b6384d5f1c0fc0dbf31ab7dc7b53fd2..aac5b478b44b0b5bdb7c4116ebd32dc32f02e957 100644 |
--- a/src/gpu/gl/GrGLEffectMatrix.h |
+++ b/src/gpu/gl/GrGLEffectMatrix.h |
@@ -59,7 +59,9 @@ public: |
}; |
GrGLEffectMatrix(CoordsType coordsType) |
- : fCoordsType(coordsType) { |
+ : fCoordsType(coordsType) |
+ , fTexGenUnit(-1) |
+ , fNumTexGenComponents(0) { |
SkASSERT(GrEffect::kLocal_CoordsType == coordsType || |
GrEffect::kPosition_CoordsType == coordsType); |
fPrevMatrix = SkMatrix::InvalidMatrix(); |
@@ -115,6 +117,8 @@ public: |
GrSLType fUniType; |
SkMatrix fPrevMatrix; |
CoordsType fCoordsType; |
+ int fTexGenUnit; |
+ int fNumTexGenComponents; |
}; |
#endif |