Explorar o código

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

Based on feedback from Sven Bergstr?m
Gabriel Jacobo %!s(int64=12) %!d(string=hai) anos
pai
achega
b701175ab5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/SDL_opengles2.h

+ 1 - 0
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