[PATCH 3/9] Bug 751418 - Fix compile error on gcc in Skia/GL r=mattwoodrow

From 3d786b1f0c040205ad9ef6d4216ce06b41f7359f Mon Sep 17 00:00:00 2001
---
 gfx/skia/src/gpu/gl/GrGLProgram.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
George Wright 2012-11-05 15:49:42 +00:00
parent 105f734b7c
commit c7ddc2f80c

View File

@ -575,7 +575,7 @@ bool GrGLProgram::genProgram(const GrCustomStage** customStages) {
POS_ATTR_NAME);
builder.fVSCode.appendf("void main() {\n"
"\tvec3 pos3 = %s * vec3("POS_ATTR_NAME", 1);\n"
"\tvec3 pos3 = %s * vec3(" POS_ATTR_NAME ", 1);\n"
"\tgl_Position = vec4(pos3.xy, 0, pos3.z);\n",
viewMName);