fix iPhone compilation issue with OpenGL ES 2.0

This commit is contained in:
rdb 2010-11-23 18:31:21 +00:00
parent 2e6d2c5255
commit e6311cb5cf
1 changed files with 7 additions and 2 deletions

View File

@ -41,8 +41,13 @@
#define OPENGLES_2
#endif
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#ifdef IS_OSX
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#else
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#endif
// This helps to keep the source clean of hundreds of #ifdefs.
typedef char GLchar;