diff options
author | Alejandro Marzini | 2010-07-15 05:04:44 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-15 05:04:44 +0000 |
commit | fc8b60abda3090e01f3f147f7307bbede1e7de06 (patch) | |
tree | 8f22534b844ac2c11c60a1b412f118b77400d6d8 /backends | |
parent | 25f1980dad9348f8c0d81b3ead787c4e06af3ac1 (diff) | |
download | scummvm-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.cpp | 4 |
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> |