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 87678719af30db6b
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
     1.1 --- a/include/SDL_opengles2.h	Sat May 10 16:50:05 2014 -0300
     1.2 +++ b/include/SDL_opengles2.h	Sat May 10 17:00:37 2014 -0300
     1.3 @@ -29,6 +29,7 @@
     1.4  #include <OpenGLES/ES2/gl.h>
     1.5  #include <OpenGLES/ES2/glext.h>
     1.6  #else
     1.7 +#include <GLES2/gl2platform.h>
     1.8  #include <GLES2/gl2.h>
     1.9  #include <GLES2/gl2ext.h>
    1.10  #endif