diff options
-rw-r--r-- | src/gpu/gl/GrGLProgram.cpp | 2 | ||||
-rw-r--r-- | src/gpu/gl/GrGpuGL.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index 8b8a9549de..cf152f0e63 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -26,7 +26,7 @@ enum { } // namespace -#define PRINT_SHADERS 0 +#define PRINT_SHADERS GR_DEBUG typedef GrGLProgram::ProgramDesc::StageDesc StageDesc; diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index e49c6645c3..4f24174fc6 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -115,7 +115,7 @@ bool GrGpuGL::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { /////////////////////////////////////////////////////////////////////////////// -static bool gPrintStartupSpew; +static bool gPrintStartupSpew = GR_DEBUG; static bool fbo_test(const GrGLInterface* gl, int w, int h) { |