OPENGL: Fix OpenGL on Mac OS X

svn-id: r54545
This commit is contained in:
Max Horn 2010-11-28 18:57:36 +00:00
parent 364382cf9f
commit ce119b9540
3 changed files with 3 additions and 4 deletions

View File

@ -38,7 +38,7 @@
#endif
#ifdef MACOSX
#include <gl.h>
#include <OpenGL/gl.h>
#elif defined(USE_GLES)
#include <GLES/gl.h>
#else

View File

@ -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>

1
configure vendored
View File

@ -2670,7 +2670,6 @@ if test "$_opengl" = yes ; then
DEFINES="$DEFINES -DUSE_OPENGL"
case $_host_os in
*darwin*)
INCLUDES="$INCLUDES -I/System/Library/Frameworks/OpenGL.framework/Headers"
LIBS="$LIBS -framework OpenGL"
;;
*mingw*)