Fix name of extension enabled in r6031 (should be plural "conventions").

Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@6033 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-10-22 18:47:17 +00:00
parent 072708f0a2
commit 59bb919451

View File

@ -288,7 +288,7 @@ void GrGLShaderBuilder::addVarying(GrSLType type,
const char* GrGLShaderBuilder::fragmentPosition() {
if (fContext.caps().fragCoordConventionsSupport()) {
if (!fSetupFragPosition) {
fFSHeader.printf("#extension GL_ARB_fragment_coord_convention: enable\n");
fFSHeader.printf("#extension GL_ARB_fragment_coord_conventions: enable\n");
fFSHeader.append("layout(origin_upper_left) in vec4 gl_FragCoord;\n");
fSetupFragPosition = true;
}