diff options
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 }; /** |