Index: third_party/khronos/EGL/eglplatform.h |
diff --git a/third_party/khronos/EGL/eglplatform.h b/third_party/khronos/EGL/eglplatform.h |
index 34c6e6151b27d9b783266b20022612f4a51af8ea..1eeb6baf12603f7ff39e95e5d8f24494c0c6de86 100644 |
--- a/third_party/khronos/EGL/eglplatform.h |
+++ b/third_party/khronos/EGL/eglplatform.h |
@@ -94,6 +94,12 @@ typedef struct ANativeWindow* EGLNativeWindowType; |
typedef struct egl_native_pixmap_t* EGLNativePixmapType; |
typedef void* EGLNativeDisplayType; |
+#elif defined(USE_NATIVE_SURFACE_LINUX) |
+ |
+typedef int EGLNativeDisplayType; |
+typedef intptr_t EGLNativeWindowType; |
+typedef intptr_t EGLNativePixmapType; |
+ |
#elif defined(__unix__) |
/* X11 (tentative) */ |