aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
authorMax Horn2010-11-28 18:57:36 +0000
committerMax Horn2010-11-28 18:57:36 +0000
commitce119b95401955d0ad00eaf0e9169237dfba1016 (patch)
tree04333ea1689242b77cbb64730fbb7164750d2e1f /backends/graphics/opengl
parent364382cf9fcc013d7acb6c8252bf62e805ccd01c (diff)
downloadscummvm-rg350-ce119b95401955d0ad00eaf0e9169237dfba1016.tar.gz
scummvm-rg350-ce119b95401955d0ad00eaf0e9169237dfba1016.tar.bz2
scummvm-rg350-ce119b95401955d0ad00eaf0e9169237dfba1016.zip
OPENGL: Fix OpenGL on Mac OS X
svn-id: r54545
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r--backends/graphics/opengl/glerrorcheck.cpp2
-rw-r--r--backends/graphics/opengl/gltexture.h4
2 files changed, 3 insertions, 3 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>