Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.
authorGabriel Jacobo <gabomdq@gmail.com>
Sat, 10 May 2014 17:00:37 -0300
changeset 8767 8719af30db6b
parent 8766 e5f584f77609
child 8768 a9520d7a579c
Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW. Based on feedback from Sven Bergström
include/SDL_opengles2.h
--- a/include/SDL_opengles2.h	Sat May 10 16:50:05 2014 -0300
+++ b/include/SDL_opengles2.h	Sat May 10 17:00:37 2014 -0300
@@ -29,6 +29,7 @@
 #include <OpenGLES/ES2/gl.h>
 #include <OpenGLES/ES2/glext.h>
 #else
+#include <GLES2/gl2platform.h>
 #include <GLES2/gl2.h>
 #include <GLES2/gl2ext.h>
 #endif