From a1161feed2e2fcb10ef75d32bdad4df1054e159d Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 11 Jul 2010 16:11:28 +0000 Subject: Fix compile on Mac OS X. svn-id: r50801 --- backends/graphics/opengl/gltexture.h | 5 ++++- backends/graphics/opengl/opengl-graphics.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'backends/graphics/opengl') 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 #include +#elif defined(MACOSX) +#include +#include #else #include #include 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 }; /** -- cgit v1.2.3