diff --git a/3rdparty/glext/EGL/eglplatform.h b/3rdparty/glext/EGL/eglplatform.h index 5e5b57c8c..613e0303d 100644 --- a/3rdparty/glext/EGL/eglplatform.h +++ b/3rdparty/glext/EGL/eglplatform.h @@ -95,6 +95,16 @@ typedef int EGLNativeDisplayType; typedef void *EGLNativeWindowType; typedef void *EGLNativePixmapType; +#elif defined(__ANDROID__) || defined(ANDROID) + +#include + +struct egl_native_pixmap_t; + +typedef struct ANativeWindow* EGLNativeWindowType; +typedef struct egl_native_pixmap_t* EGLNativePixmapType; +typedef void* EGLNativeDisplayType; + #elif defined(__unix__) /* X11 (tentative) */