Fix projection matrix on the Raspberry Pi.

This commit is contained in:
Aloshi 2013-07-17 00:50:38 -05:00
parent 28f7a9c6e1
commit 9fe6ca7506

View file

@ -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();