projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
442730a
)
Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
author
Jamey Sharp
<jamey@minilop.net>
Mon, 15 May 2006 05:49:18 +0000
(22:49 -0700)
committer
Jamey Sharp
<jamey@minilop.net>
Mon, 15 May 2006 05:49:18 +0000
(22:49 -0700)
src/xcb_out.c
patch
|
blob
|
history
diff --git
a/src/xcb_out.c
b/src/xcb_out.c
index
e371cd1
..
f12a071
100644
(file)
--- a/
src/xcb_out.c
+++ b/
src/xcb_out.c
@@
-144,8
+144,10
@@
unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, c
flags &= ~XCB_REQUEST_RAW;
/* do we need to work around the X server bug described in glx.xml? */
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") &&
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;
req->opcode == 21))
workaround = WORKAROUND_GLX_GET_FB_CONFIGS_BUG;