aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLProgramDataManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLProgramDataManager.h')
-rw-r--r--src/gpu/gl/GrGLProgramDataManager.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/gl/GrGLProgramDataManager.h b/src/gpu/gl/GrGLProgramDataManager.h
index 5ee1a85557..f154313516 100644
--- a/src/gpu/gl/GrGLProgramDataManager.h
+++ b/src/gpu/gl/GrGLProgramDataManager.h
@@ -106,11 +106,7 @@ private:
);
};
-#ifdef SK_DEBUG
- void printUnused(const Uniform&) const;
-#else
- void printUnused(const Uniform&) const {}
-#endif
+ SkDEBUGCODE(void printUnused(const Uniform&) const;)
SkTArray<Uniform, true> fUniforms;
GrGLGpu* fGpu;