From e38160c38c295a4d9cd2441727ebdc6e5f47e225 Mon Sep 17 00:00:00 2001 From: "rileya@google.com" Date: Tue, 3 Jul 2012 18:03:04 +0000 Subject: Reworked gradient shader to no longer explicitly set gl_FragColor or return prematurely. This should fix failing linux buildbot, and should play nicer with programs that don't use the gl_FragColor global, or that have multiple stages. Also disabled debug printing from revision 4445. Review URL: https://codereview.appspot.com/6345063 git-svn-id: http://skia.googlecode.com/svn/trunk@4454 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGpuGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/gl/GrGpuGL.cpp') diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index 4f24174fc6..e49c6645c3 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 = GR_DEBUG; +static bool gPrintStartupSpew; static bool fbo_test(const GrGLInterface* gl, int w, int h) { -- cgit v1.2.3