From: Christian König Date: Thu, 7 Apr 2011 21:04:10 +0000 (+0200) Subject: [g3dvl] stop waiting for replay of DRI2CopyRegion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19402275fb36fc8cb5afaab63b224487e00313f9;p=mesa.git [g3dvl] stop waiting for replay of DRI2CopyRegion --- diff --git a/src/gallium/winsys/g3dvl/dri/dri2.c b/src/gallium/winsys/g3dvl/dri/dri2.c index 23fb7780882..12ed6d0ab74 100644 --- a/src/gallium/winsys/g3dvl/dri/dri2.c +++ b/src/gallium/winsys/g3dvl/dri/dri2.c @@ -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(); }