Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.

Based on feedback from Sven Bergstr?m
This commit is contained in:
Gabriel Jacobo 2014-05-10 17:00:37 -03:00
parent de0d349e68
commit b701175ab5

View File

@ -29,6 +29,7 @@
#include <OpenGLES/ES2/gl.h> #include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h> #include <OpenGLES/ES2/glext.h>
#else #else
#include <GLES2/gl2platform.h>
#include <GLES2/gl2.h> #include <GLES2/gl2.h>
#include <GLES2/gl2ext.h> #include <GLES2/gl2ext.h>
#endif #endif