diff options
author | Joost Peters | 2010-08-03 12:54:07 +0000 |
---|---|---|
committer | Joost Peters | 2010-08-03 12:54:07 +0000 |
commit | 8fa456852f45a95134756f64740de6721c231673 (patch) | |
tree | d9c06b8cbb5b2aeb8db96a124a65f861377f9473 | |
parent | 6786c2a714b23d5c70e900cdcf86bdee83993283 (diff) | |
download | scummvm-rg350-8fa456852f45a95134756f64740de6721c231673.tar.gz scummvm-rg350-8fa456852f45a95134756f64740de6721c231673.tar.bz2 scummvm-rg350-8fa456852f45a95134756f64740de6721c231673.zip |
OSX: Fix OpenGL detection
svn-id: r51690
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2315,8 +2315,8 @@ echocheck "OpenGL (ES)" if test "$_opengl" = auto ; then _opengl=no cat > $TMPC << EOF -#if defined(__MACOSX__) -#include <gl.h> +#if defined(MACOSX) +#include <OpenGL/gl.h> #else #if defined(__WIN32__) #define WIN32_LEAN_AND_MEAN @@ -2326,7 +2326,7 @@ if test "$_opengl" = auto ; then #endif int main(void) { return GL_VERSION_1_1; } EOF - cc_check $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes + cc_check $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes fi if test "$_opengl" = yes ; then _def_opengl='#define USE_OPENGL' |