Commit b701175ab50cc991484d34fb12eeea7e680eed87

Gabriel Jacobo 2014-05-10T17:00:37

Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW. Based on feedback from Sven Bergstr?m

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/SDL_opengles2.h b/include/SDL_opengles2.h
index 2c05479..d43e942 100644
--- a/include/SDL_opengles2.h
+++ b/include/SDL_opengles2.h
@@ -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