Patched to compile on OpenGL ES-based platforms.

This commit is contained in:
Ryan C. Gordon 2015-03-21 00:09:22 -04:00
parent 161e5d150f
commit eb49f8caa3
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@
#include "SDL_opengles2.h"
#endif /* SDL_VIDEO_OPENGL_ES2 && !SDL_VIDEO_OPENGL */
#ifndef GL_CONTEXT_RELEASE_BEHAVIOR_KHR
#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
#endif
/* On Windows, windows.h defines CreateWindow */
#ifdef CreateWindow
#undef CreateWindow