Mesa (pipe-video): [g3dvl] stop waiting for replay of DRI2CopyRegion

Christian König deathsimple at kemper.freedesktop.org
Fri Apr 8 16:40:06 PDT 2011


Module: Mesa
Branch: pipe-video
Commit: 19402275fb36fc8cb5afaab63b224487e00313f9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=19402275fb36fc8cb5afaab63b224487e00313f9

Author: Christian König <deathsimple at vodafone.de>
Date:   Thu Apr  7 23:04:10 2011 +0200

[g3dvl] stop waiting for replay of DRI2CopyRegion

---

 src/gallium/winsys/g3dvl/dri/dri2.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/gallium/winsys/g3dvl/dri/dri2.c b/src/gallium/winsys/g3dvl/dri/dri2.c
index 23fb778..12ed6d0 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();
 }



More information about the mesa-commit mailing list