diff options
-rw-r--r-- | backends/graphics/opengl/glerrorcheck.cpp | 2 | ||||
-rw-r--r-- | backends/graphics/opengl/gltexture.h | 4 | ||||
-rwxr-xr-x | configure | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/backends/graphics/opengl/glerrorcheck.cpp b/backends/graphics/opengl/glerrorcheck.cpp index 8d5dcf49da..c3b0c9cd63 100644 --- a/backends/graphics/opengl/glerrorcheck.cpp +++ b/backends/graphics/opengl/glerrorcheck.cpp @@ -38,7 +38,7 @@ #endif #ifdef MACOSX -#include <gl.h> +#include <OpenGL/gl.h> #elif defined(USE_GLES) #include <GLES/gl.h> #else diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h index 9864f6816c..40060e2158 100644 --- a/backends/graphics/opengl/gltexture.h +++ b/backends/graphics/opengl/gltexture.h @@ -36,8 +36,8 @@ #include <GLES/gl.h> #include <GLES/glext.h> #elif defined(MACOSX) -#include <gl.h> -#include <glext.h> +#include <OpenGL/gl.h> +#include <OpenGL/glext.h> #else #include <GL/gl.h> #include <GL/glext.h> @@ -2670,7 +2670,6 @@ if test "$_opengl" = yes ; then DEFINES="$DEFINES -DUSE_OPENGL" case $_host_os in *darwin*) - INCLUDES="$INCLUDES -I/System/Library/Frameworks/OpenGL.framework/Headers" LIBS="$LIBS -framework OpenGL" ;; *mingw*) |