[g3dvl] stop waiting for replay of DRI2CopyRegion
This commit is contained in:
parent
30c4a07310
commit
19402275fb
|
@ -213,7 +213,7 @@ DRI2QueryVersion(Display * dpy, int *major, int *minor)
|
|||
nevents = 2;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
for (i = 0; i < nevents; i++) {
|
||||
XESetWireToEvent (dpy, info->codes->first_event + i, DRI2WireToEvent);
|
||||
XESetEventToWire (dpy, info->codes->first_event + i, DRI2EventToWire);
|
||||
|
@ -466,7 +466,6 @@ DRI2CopyRegion(Display * dpy, XID drawable, XserverRegion region,
|
|||
{
|
||||
XExtDisplayInfo *info = DRI2FindDisplay(dpy);
|
||||
xDRI2CopyRegionReq *req;
|
||||
xDRI2CopyRegionReply rep;
|
||||
|
||||
XextSimpleCheckExtension(dpy, info, dri2ExtensionName);
|
||||
|
||||
|
@ -479,8 +478,6 @@ DRI2CopyRegion(Display * dpy, XID drawable, XserverRegion region,
|
|||
req->dest = dest;
|
||||
req->src = src;
|
||||
|
||||
_XReply(dpy, (xReply *) & rep, 0, xFalse);
|
||||
|
||||
UnlockDisplay(dpy);
|
||||
SyncHandle();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue