mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Patched to compile on OpenGL ES-based platforms.
This commit is contained in:
parent
161e5d150f
commit
eb49f8caa3
@ -46,6 +46,10 @@
|
|||||||
#include "SDL_opengles2.h"
|
#include "SDL_opengles2.h"
|
||||||
#endif /* SDL_VIDEO_OPENGL_ES2 && !SDL_VIDEO_OPENGL */
|
#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 */
|
/* On Windows, windows.h defines CreateWindow */
|
||||||
#ifdef CreateWindow
|
#ifdef CreateWindow
|
||||||
#undef CreateWindow
|
#undef CreateWindow
|
||||||
|
Loading…
Reference in New Issue
Block a user