aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-15 05:04:44 +0000
committerAlejandro Marzini2010-07-15 05:04:44 +0000
commitfc8b60abda3090e01f3f147f7307bbede1e7de06 (patch)
tree8f22534b844ac2c11c60a1b412f118b77400d6d8 /backends
parent25f1980dad9348f8c0d81b3ead787c4e06af3ac1 (diff)
downloadscummvm-rg350-fc8b60abda3090e01f3f147f7307bbede1e7de06.tar.gz
scummvm-rg350-fc8b60abda3090e01f3f147f7307bbede1e7de06.tar.bz2
scummvm-rg350-fc8b60abda3090e01f3f147f7307bbede1e7de06.zip
Fixed header for OS X, and added OpenGL feature to configure script. (Patch by clone2727)
svn-id: r50908
Diffstat (limited to 'backends')
-rw-r--r--backends/graphics/opengl/glerrorcheck.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/graphics/opengl/glerrorcheck.cpp b/backends/graphics/opengl/glerrorcheck.cpp
index a4ad1e01ea..726147a66b 100644
--- a/backends/graphics/opengl/glerrorcheck.cpp
+++ b/backends/graphics/opengl/glerrorcheck.cpp
@@ -37,7 +37,9 @@
#undef ARRAYSIZE
#endif
-#ifdef USE_GLES
+#ifdef MACOSX
+#include <gl.h>
+#elif defined(USE_GLES)
#include <GLES/gl.h>
#else
#include <GL/gl.h>