diff --git a/desmume/src/OGLRender_ES3.cpp b/desmume/src/OGLRender_ES3.cpp index dee5a7618..17e94b88a 100644 --- a/desmume/src/OGLRender_ES3.cpp +++ b/desmume/src/OGLRender_ES3.cpp @@ -108,7 +108,7 @@ void main()\n\ \n\ vtxTexCoord = (texScaleMtx * inTexCoord0) / 16.0;\n\ vtxColor = vec4(inColor / 63.0, polyAlpha);\n\ - gl_Position = inPosition / 4096.0;\n\ + gl_Position = vec4(inPosition.x, -inPosition.y, inPosition.z, inPosition.w) / 4096.0;\n\ }\n\ "};