diff options
author | Matthew Hoops | 2010-07-11 16:11:28 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-07-11 16:11:28 +0000 |
commit | a1161feed2e2fcb10ef75d32bdad4df1054e159d (patch) | |
tree | 6c1eb3ada0e419ab2d69a5e3f010c12478aac9f7 /backends/graphics/opengl | |
parent | 4dca7c7e02a111a950124ee26a6d46090a0f755c (diff) | |
download | scummvm-rg350-a1161feed2e2fcb10ef75d32bdad4df1054e159d.tar.gz scummvm-rg350-a1161feed2e2fcb10ef75d32bdad4df1054e159d.tar.bz2 scummvm-rg350-a1161feed2e2fcb10ef75d32bdad4df1054e159d.zip |
Fix compile on Mac OS X.
svn-id: r50801
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r-- | backends/graphics/opengl/gltexture.h | 5 | ||||
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h index 7a33c88098..9238b73cf4 100644 --- a/backends/graphics/opengl/gltexture.h +++ b/backends/graphics/opengl/gltexture.h @@ -32,9 +32,12 @@ #undef ARRAYSIZE #endif -#ifdef USE_GLES +#if defined(USE_GLES) #include <GLES/gl.h> #include <GLES/glext.h> +#elif defined(MACOSX) +#include <gl.h> +#include <glext.h> #else #include <GL/gl.h> #include <GL/glext.h> diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index ef71028854..cbf81db9b0 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -30,7 +30,7 @@ #include "backends/graphics/graphics.h" enum { - GFX_NORMAL = 0, + GFX_NORMAL = 0 }; /** |