(iOS) Add optional GLES3 headers to rglgen_headers.h

This commit is contained in:
twinaphex 2014-06-29 07:47:27 +02:00
parent c65116a9ba
commit e1503483c4

View File

@ -7,8 +7,15 @@
#endif
#if defined(IOS)
#if defined(HAVE_OPENGLES3)
#include <OpenGLES/ES3/gl.h>
#include <OpenGLES/ES3/glext.h>
#else
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#endif
#elif defined(__APPLE__)
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>