X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fkhronos%2FEGL%2Feglplatform.h;h=5f30ef1c22ee7889edf4c2f9e25ca2908e3bd45b;hb=23503cb140546dc31deefb63c92e09131c91b3f0;hp=6d34ab55db9fda679e8839b754dad4adffe375c9;hpb=e319ab480b479a35da6e55412efe39a1a01e5c04;p=apitrace diff --git a/thirdparty/khronos/EGL/eglplatform.h b/thirdparty/khronos/EGL/eglplatform.h index 6d34ab5..5f30ef1 100644 --- a/thirdparty/khronos/EGL/eglplatform.h +++ b/thirdparty/khronos/EGL/eglplatform.h @@ -83,6 +83,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) */