aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.h
diff options
context:
space:
mode:
authorJordi Vilalta Prat2010-12-03 19:43:27 +0000
committerJordi Vilalta Prat2010-12-03 19:43:27 +0000
commit5884f5a7ac1ca83e702f44cd4ecfc56dcfaf2490 (patch)
treeadd89b5fcb907c4ba27ba3dbb0a532105c61b3e7 /backends/graphics/opengl/gltexture.h
parentf1d961a35eadec6a76c0423563e379d830f68002 (diff)
downloadscummvm-rg350-5884f5a7ac1ca83e702f44cd4ecfc56dcfaf2490.tar.gz
scummvm-rg350-5884f5a7ac1ca83e702f44cd4ecfc56dcfaf2490.tar.bz2
scummvm-rg350-5884f5a7ac1ca83e702f44cd4ecfc56dcfaf2490.zip
OPENGLES: Fix the projection matrix and the includes.
svn-id: r54756
Diffstat (limited to 'backends/graphics/opengl/gltexture.h')
-rw-r--r--backends/graphics/opengl/gltexture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h
index 92bd0ec8d9..e7951a0c96 100644
--- a/backends/graphics/opengl/gltexture.h
+++ b/backends/graphics/opengl/gltexture.h
@@ -32,10 +32,10 @@
#undef ARRAYSIZE
#endif
-#if defined(SDL_BACKEND)
-#include <SDL_opengl.h>
-#elif defined(USE_GLES)
+#if defined(USE_GLES)
#include <GLES/gl.h>
+#elif defined(SDL_BACKEND)
+#include <SDL_opengl.h>
#else
#include <GL/gl.h>
#endif