Fixed header for OS X, and added OpenGL feature to configure script. (Patch by clone2727)

svn-id: r50908
This commit is contained in:
Alejandro Marzini 2010-07-15 05:04:44 +00:00
parent 25f1980dad
commit fc8b60abda
2 changed files with 49 additions and 3 deletions

View file

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