From 19402275fb36fc8cb5afaab63b224487e00313f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Thu, 7 Apr 2011 23:04:10 +0200 Subject: [PATCH] [g3dvl] stop waiting for replay of DRI2CopyRegion --- src/gallium/winsys/g3dvl/dri/dri2.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } -- 2.30.2