mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-07 02:38:02 +02:00
Use correct word offset when testing for GetFBConfigsSGIX VendorPrivate.
This commit is contained in:
parent
442730a9a2
commit
936077cbc8
1 changed files with 3 additions and 1 deletions
|
|
@ -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? */
|
||||
/* 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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue