[Xcb-commit] xcb
Jamey Sharp
jamey at kemper.freedesktop.org
Sun May 14 22:49:31 PDT 2006
xcb/src/xcb_out.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
New commits:
diff-tree 2c6fbfa8ee82a4dbc27b309b2e8beba86d42762c (from d3f55a3da55578f8287082ea3dd4f3abe572bfb4)
Author: Jamey Sharp <jamey at minilop.net>
Date: Sun May 14 22:49:18 2006 -0700
Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
diff --git a/xcb/src/xcb_out.c b/xcb/src/xcb_out.c
index e371cd1..f12a071 100644
--- a/xcb/src/xcb_out.c
+++ b/xcb/src/xcb_out.c
@@ -144,8 +144,10 @@ unsigned int XCBSendRequest(XCBConnectio
flags &= ~XCB_REQUEST_RAW;
/* do we need to work around the X server bug described in glx.xml? */
+ /* XXX: GetFBConfigs won't use BIG-REQUESTS in any sane
+ * configuration, but that should be handled here anyway. */
if(req->ext && !req->isvoid && !strcmp(req->ext->name, "GLX") &&
- ((req->opcode == 17 && ((CARD32 *) vector[0].iov_base)[0] == 0x10004) ||
+ ((req->opcode == 17 && ((CARD32 *) vector[0].iov_base)[1] == 0x10004) ||
req->opcode == 21))
workaround = WORKAROUND_GLX_GET_FB_CONFIGS_BUG;
More information about the xcb-commit
mailing list