projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0841f0a
)
added typedefs for X/Mesa
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:43:34 +0000
(13:43 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 27 May 2008 19:43:34 +0000
(13:43 -0600)
include/EGL/eglplatform.h
patch
|
blob
|
history
diff --git
a/include/EGL/eglplatform.h
b/include/EGL/eglplatform.h
index 205812f2e31fbefef3c37fe3cefb5558cc400cc4..3d71910e5f97f2330003f8051a5003df5eb3ce8c 100644
(file)
--- 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;