diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index 7bc8b752d..fe7deff34 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -362,11 +362,11 @@ bool CommandProcessor::SetupGL() { " gl_PointSize = gl_in[2].gl_PointSize;\n" " out_vtx = in_vtx[2];\n" " EmitVertex();\n" - " gl_Position = gl_in[0].gl_Position + (gl_in[2].gl_Position - \n" - " gl_in[1].gl_Position);\n" + " gl_Position = (gl_in[0].gl_Position + gl_in[2].gl_Position) - \n" + " gl_in[1].gl_Position;\n" " gl_PointSize = gl_in[2].gl_PointSize;\n" " for (int i = 0; i < 16; ++i) {\n" - " out_vtx.o[i] = -in_vtx[0].o[i] + in_vtx[1].o[i] + \n" + " out_vtx.o[i] = in_vtx[0].o[i] + -in_vtx[1].o[i] + \n" " in_vtx[2].o[i];\n" " }\n" " EmitVertex();\n"