From 908e4ecabf4e693f606ce90286ea217665b3bfca Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 12 Jan 2013 08:24:05 +0800 Subject: [PATCH] Revert AB for HW transform until find a better fix --- GPU/GLES/VertexShaderGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/VertexShaderGenerator.cpp b/GPU/GLES/VertexShaderGenerator.cpp index e30608bdd..5444be848 100644 --- a/GPU/GLES/VertexShaderGenerator.cpp +++ b/GPU/GLES/VertexShaderGenerator.cpp @@ -338,7 +338,7 @@ void GenerateVertexShader(int prim, char *buffer) { if (hasColor) { WRITE(p, " v_color0 = a_color0;\n"); } else { - WRITE(p, " v_color0 += vec4(u_matambientalpha.rgb, 0.0);\n"); + WRITE(p, " v_color0 = u_matambientalpha;\n"); } if (lmode) WRITE(p, " v_color1 = vec3(0.0, 0.0, 0.0);\n");