summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglplatform.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-27 13:43:34 -0600
committerBrian Paul <[email protected]>2008-05-27 13:43:34 -0600
commit57da567dc547a5fcbec5cca02dc13242d6f8386f (patch)
tree86da736b8258790a9d2ac081a70fc08bff5e8e67 /include/EGL/eglplatform.h
parent0841f0a85e852771899237c5392a0811e3f12df1 (diff)
added typedefs for X/Mesa
Diffstat (limited to 'include/EGL/eglplatform.h')
-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 205812f2e31..3d71910e5f9 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;