Skip to content

Commit

Permalink
OpenGL ES Renderer: Fix a bug where the final output framebuffer is Y…
Browse files Browse the repository at this point in the history
…-flipped. (Regression from commit 3db6d56.)
  • Loading branch information
rogerman committed Aug 12, 2024
1 parent 3db6d56 commit 8197174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desmume/src/OGLRender_ES3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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\
"};

Expand Down

0 comments on commit 8197174

Please sign in to comment.