From: Emil Velikov <>

XXX: This is the upstream/Khronos definition of it, although I'm not
perfectly sure if/how many users depend on it.

XXX: Worth folding with the original commit which introduces the EGL_USE
PLATFORM... lot ?
 include/EGL/eglplatform.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index bb8bb95..16765fb 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -76,6 +76,12 @@ typedef struct ANativeWindow*           EGLNativeWindowType;
 typedef struct egl_native_pixmap_t*     EGLNativePixmapType;
 typedef void*                           EGLNativeDisplayType;
+typedef int   EGLNativeDisplayType;
+typedef void *EGLNativeWindowType;
+typedef void *EGLNativePixmapType;
 #elif defined(EGL_USE_PLATFORM_GBM_KHR) // XXX: Name GBM vs DRM vs other
 typedef struct gbm_device  *EGLNativeDisplayType;

mesa-dev mailing list

Reply via email to