diff options
author | 2012-07-03 18:03:04 +0000 | |
---|---|---|
committer | 2012-07-03 18:03:04 +0000 | |
commit | e38160c38c295a4d9cd2441727ebdc6e5f47e225 (patch) | |
tree | d9b6df997a857f5627a2fd70e70d31ea0e406be7 /src/gpu/gl/GrGpuGL.cpp | |
parent | 2f891793957252b0262276c957c67798c905be80 (diff) |
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
Diffstat (limited to 'src/gpu/gl/GrGpuGL.cpp')
-rw-r--r-- | src/gpu/gl/GrGpuGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |