termux-packages/x11-packages/sdl2/SDL2-2.0.8_include_SDL_egl.h.patch

29 lines
907 B
Diff
Raw Normal View History

2018-09-10 00:42:26 +02:00
diff -uNr SDL2-2.0.8/include/SDL_egl.h SDL2-2.0.8.mod/include/SDL_egl.h
--- SDL2-2.0.8/include/SDL_egl.h 2018-03-01 18:34:41.000000000 +0200
+++ SDL2-2.0.8.mod/include/SDL_egl.h 2018-09-07 16:16:21.297859815 +0300
@@ -24,7 +24,7 @@
*
* This is a simple file to encapsulate the EGL API headers.
*/
-#if !defined(_MSC_VER) && !defined(__ANDROID__)
+#if !defined(_MSC_VER)
#include <EGL/egl.h>
#include <EGL/eglext.h>
@@ -421,15 +421,6 @@
typedef struct gbm_bo *EGLNativePixmapType;
typedef void *EGLNativeWindowType;
-#elif defined(__ANDROID__) /* Android */
-
-struct ANativeWindow;
-struct egl_native_pixmap_t;
-
-typedef struct ANativeWindow *EGLNativeWindowType;
-typedef struct egl_native_pixmap_t *EGLNativePixmapType;
-typedef void *EGLNativeDisplayType;
-
#elif defined(MIR_EGL_PLATFORM)
#include <mir_toolkit/mir_client_library.h>