Patched to compile on OpenGL ES-based platforms.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 21 Mar 2015 00:09:22 -0400
changeset 9416d5c12b28df2d
parent 9415 93547cc94383
child 9417 86483b23f44a
Patched to compile on OpenGL ES-based platforms.
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Fri Mar 20 23:29:09 2015 -0400
     1.2 +++ b/src/video/SDL_video.c	Sat Mar 21 00:09:22 2015 -0400
     1.3 @@ -46,6 +46,10 @@
     1.4  #include "SDL_opengles2.h"
     1.5  #endif /* SDL_VIDEO_OPENGL_ES2 && !SDL_VIDEO_OPENGL */
     1.6  
     1.7 +#ifndef GL_CONTEXT_RELEASE_BEHAVIOR_KHR
     1.8 +#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
     1.9 +#endif
    1.10 +
    1.11  /* On Windows, windows.h defines CreateWindow */
    1.12  #ifdef CreateWindow
    1.13  #undef CreateWindow