diff options
author | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-03 18:03:04 +0000 |
---|---|---|
committer | rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-03 18:03:04 +0000 |
commit | e38160c38c295a4d9cd2441727ebdc6e5f47e225 (patch) | |
tree | d9b6df997a857f5627a2fd70e70d31ea0e406be7 /src/gpu/gl/GrGLProgram.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/GrGLProgram.cpp')
-rw-r--r-- | src/gpu/gl/GrGLProgram.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index cf152f0e63..8b8a9549de 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -26,7 +26,7 @@ enum { } // namespace -#define PRINT_SHADERS GR_DEBUG +#define PRINT_SHADERS 0 typedef GrGLProgram::ProgramDesc::StageDesc StageDesc; |