Index: src/gpu/gl/GrGLProgramDataManager.h |
diff --git a/src/gpu/gl/GrGLProgramDataManager.h b/src/gpu/gl/GrGLProgramDataManager.h |
index f1543135165ec19162f28cb3e7b555efc1bd5908..5ee1a85557e14a9bbc12a903f6ca64c04d67579e 100644 |
--- a/src/gpu/gl/GrGLProgramDataManager.h |
+++ b/src/gpu/gl/GrGLProgramDataManager.h |
@@ -106,7 +106,11 @@ |
); |
}; |
- SkDEBUGCODE(void printUnused(const Uniform&) const;) |
+#ifdef SK_DEBUG |
+ void printUnused(const Uniform&) const; |
+#else |
+ void printUnused(const Uniform&) const {} |
+#endif |
SkTArray<Uniform, true> fUniforms; |
GrGLGpu* fGpu; |