Skip to content

Commit

Permalink
Patched to compile on OpenGL ES-based platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 21, 2015
1 parent 161e5d1 commit eb49f8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/SDL_video.c
Expand Up @@ -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
Expand Down

0 comments on commit eb49f8c

Please sign in to comment.