diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglplatform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 33a3e5f889..22a263f522 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -78,6 +78,15 @@ typedef int EGLNativeDisplayType; typedef void *EGLNativeWindowType; typedef void *EGLNativePixmapType; +#elif defined(ANDROID) /* Android */ + +struct android_native_window_t; +struct egl_native_pixmap_t; + +typedef struct android_native_window_t* EGLNativeWindowType; +typedef struct egl_native_pixmap_t* EGLNativePixmapType; +typedef void* EGLNativeDisplayType; + #elif defined(__unix__) || defined(__unix) #ifdef MESA_EGL_NO_X11_HEADERS |