From ee6a0aa42cacd225212d2beb9fe3d538a89e6ce7 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 19 Nov 2013 22:29:04 -0800 Subject: [PATCH] Updated EGL/eglplatform.h with Android specific code. --- 3rdparty/glext/EGL/eglplatform.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/3rdparty/glext/EGL/eglplatform.h b/3rdparty/glext/EGL/eglplatform.h index 5e5b57c8..613e0303 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) */