projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ccda72
)
glx: Use __glX_send_client_info with XCB
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 29 Nov 2011 18:57:43 +0000
(10:57 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 2 Jan 2012 20:41:44 +0000
(12:41 -0800)
__glX_send_client_info only supports XCB, so use that instead of
__glXClientInfo when USE_XCB is defined.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/glxext.c
patch
|
blob
|
history
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index baa2489fd199effaedbff964c2d945cace8b7a8f..12fff22399d762fa8498bbd8f1ac3d106dddf4e2 100644
(file)
--- a/
src/glx/glxext.c
+++ b/
src/glx/glxext.c
@@
-887,7
+887,11
@@
__glXInitialize(Display * dpy)
return NULL;
}
+#ifdef USE_XCB
+ __glX_send_client_info(dpyPriv);
+#else
__glXClientInfo(dpy, dpyPriv->majorOpcode);
+#endif
/* Grab the lock again and add the dispay private, unless somebody
* beat us to initializing on this display in the meantime. */