diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 21:05:19 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 21:05:19 +0000 |
commit | ef818a470ef7ea28ad8f70ef77bb658458cee48a (patch) | |
tree | 332c2ef9b089748c0c264dd49c683d17552994e2 | |
parent | 57a54e33cfe771c792b1086ba67484cb95938d5d (diff) |
Fix for Mac-specific OpenGL == complaint in GrGLProgram.cpp
Unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@6743 2bbb7eff-a529-9590-31e7-b0007b416f81
-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 ba86383201..0558701322 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp @@ -285,7 +285,7 @@ bool GrGLProgram::genEdgeCoverage(SkString* coverageVar, break; } if (fDesc.fDiscardIfOutsideEdge) { - builder->fFSCode.appendf("\tif (edgeAlpha <= 0) {\n\t\tdiscard;\n\t}\n"); + builder->fFSCode.appendf("\tif (edgeAlpha <= 0.0) {\n\t\tdiscard;\n\t}\n"); } *coverageVar = "edgeAlpha"; return true; |