OPENGLES: Fix the projection matrix and the includes.
svn-id: r54756
This commit is contained in:
parent
f1d961a35e
commit
5884f5a7ac
4 changed files with 7 additions and 8 deletions
|
@ -1043,7 +1043,7 @@ void OpenGLGraphicsManager::initGL() {
|
|||
glMatrixMode(GL_PROJECTION); CHECK_GL_ERROR();
|
||||
glLoadIdentity(); CHECK_GL_ERROR();
|
||||
#ifdef USE_GLES
|
||||
glOrthox(0, _videoMode.hardwareWidth, _videoMode.hardwareHeight, 0, -1, 1); CHECK_GL_ERROR();
|
||||
glOrthof(0, _videoMode.hardwareWidth, _videoMode.hardwareHeight, 0, -1, 1); CHECK_GL_ERROR();
|
||||
#else
|
||||
glOrtho(0, _videoMode.hardwareWidth, _videoMode.hardwareHeight, 0, -1, 1); CHECK_GL_ERROR();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue