diff options
author | Filippos Karapetis | 2010-12-02 09:09:53 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-12-02 09:09:53 +0000 |
commit | 5990753271292375769ce1a683e8607521ef8c01 (patch) | |
tree | 83ebaa6647e594a30717b4f64ad0c3b44943e347 /backends/graphics | |
parent | 41ad4a431db83d166bdaab01bf0a28f0041cd853 (diff) | |
download | scummvm-rg350-5990753271292375769ce1a683e8607521ef8c01.tar.gz scummvm-rg350-5990753271292375769ce1a683e8607521ef8c01.tar.bz2 scummvm-rg350-5990753271292375769ce1a683e8607521ef8c01.zip |
OPENGL: Fixed flawed include file logic in gltexture.h, when USE_GLES is defined (a regression from r54704)
svn-id: r54732
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/opengl/gltexture.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h index bc806f6064..92bd0ec8d9 100644 --- a/backends/graphics/opengl/gltexture.h +++ b/backends/graphics/opengl/gltexture.h @@ -32,12 +32,10 @@ #undef ARRAYSIZE #endif -#if defined(USE_GLES) -#include <GLES/gl.h> -#endif - #if defined(SDL_BACKEND) #include <SDL_opengl.h> +#elif defined(USE_GLES) +#include <GLES/gl.h> #else #include <GL/gl.h> #endif |