added typedefs for X/Mesa
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:43:34 +0000 (13:43 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:43:34 +0000 (13:43 -0600)
include/EGL/eglplatform.h

index 205812f2e31fbefef3c37fe3cefb5558cc400cc4..3d71910e5f97f2330003f8051a5003df5eb3ce8c 100644 (file)
        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;