diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglplatform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 205812f2e3..3d71910e5f 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; |