X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_out.c;h=f12a0713e758ccf7cf30612cfb4166d23393818e;hb=62749d54fd79b12123607599d58add126ce5de6e;hp=e371cd196ba3370f915a5fd6eedc4f67d0cd9600;hpb=442730a9a25644e6d09065cdde2f1595ea65caf3;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_out.c b/src/xcb_out.c index e371cd1..f12a071 100644 --- 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? */ + /* 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;