summaryrefslogtreecommitdiffstats
path: root/include/EGL
diff options
context:
space:
mode:
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglplatform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 205812f..3d71910 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -47,6 +47,13 @@
etc.
*/
+/** BEGIN Added for X (Mesa) **/
+#include <X11/Xlib.h>
+typedef Display *NativeDisplayType;
+typedef Window NativeWindowType;
+typedef Pixmap NativePixmapType;
+/** END Added for X (Mesa) **/
+
/* EGL 1.2 types, renamed for consistency in EGL 1.3 */
typedef NativeDisplayType EGLNativeDisplayType;
typedef NativePixmapType EGLNativePixmapType;