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
This commit is contained in:
parent
57a54e33cf
commit
ef818a470e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user