mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
kmsdrm: Patched to compile if EGL headers lack EGL_ANDROID_native_fence_sync.
This commit is contained in:
@@ -32,6 +32,18 @@
|
|||||||
#define EGL_PLATFORM_GBM_MESA 0x31D7
|
#define EGL_PLATFORM_GBM_MESA 0x31D7
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_SYNC_NATIVE_FENCE_ANDROID
|
||||||
|
#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_SYNC_NATIVE_FENCE_FD_ANDROID
|
||||||
|
#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_NO_NATIVE_FENCE_FD_ANDROID
|
||||||
|
#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* EGL implementation of SDL OpenGL support */
|
/* EGL implementation of SDL OpenGL support */
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user