aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
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>