summaryrefslogtreecommitdiff
path: root/include/SDL_opengles2.h
diff options
context:
space:
mode:
authorGabriel Jacobo <gabomdq@gmail.com>2014-05-10 17:00:37 -0300
committerGabriel Jacobo <gabomdq@gmail.com>2014-05-10 17:00:37 -0300
commit84b7e29783faf1b2bed19c763517e8c37a36f7c4 (patch)
tree2426f4e82f10aebb975d937d3daacdd67e50af5b /include/SDL_opengles2.h
parentfec75ef964c518c2eb99548c23bea7529a190356 (diff)
downloadsdl-84b7e29783faf1b2bed19c763517e8c37a36f7c4.tar.gz
Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW.
Based on feedback from Sven Bergstr?m
Diffstat (limited to 'include/SDL_opengles2.h')
-rw-r--r--include/SDL_opengles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/SDL_opengles2.h b/include/SDL_opengles2.h
index 2c0547923..d43e94270 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