mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fix projection matrix on the Raspberry Pi.
This commit is contained in:
parent
28f7a9c6e1
commit
9fe6ca7506
|
@ -216,7 +216,9 @@ namespace Renderer
|
|||
return false;
|
||||
|
||||
glViewport(0, 0, display_width, display_height);
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glOrthof(0, display_width, display_height, 0, -1.0, 1.0);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
|
||||
onInit();
|
||||
|
|
Loading…
Reference in a new issue