Index: src/gpu/GrGeometryProcessor.cpp |
diff --git a/src/gpu/GrGeometryProcessor.cpp b/src/gpu/GrGeometryProcessor.cpp |
index 2d3f5f44a43a871f122c1785f756eb93c6375144..344dccc731861f7e71b32562eb8b18ced4884049 100644 |
--- a/src/gpu/GrGeometryProcessor.cpp |
+++ b/src/gpu/GrGeometryProcessor.cpp |
@@ -312,8 +312,9 @@ public: |
GrGLLegacyPathProcessor(const GrPathProcessor& pathProc, const GrBatchTracker& bt, |
int maxTexCoords) |
: INHERITED(pathProc, bt) |
- , fMaxTexCoords(maxTexCoords) |
- , fTexCoordSetCnt(0) {} |
+ , fTexCoordSetCnt(0) { |
+ SkDEBUGCODE(fMaxTexCoords = maxTexCoords;) |
+ } |
int addTexCoordSets(int count) { |
int firstFreeCoordSet = fTexCoordSetCnt; |
@@ -368,7 +369,7 @@ public: |
} |
private: |
- int fMaxTexCoords; |
+ SkDEBUGCODE(int fMaxTexCoords;) |
int fTexCoordSetCnt; |
typedef GrGLPathProcessor INHERITED; |