summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-07 23:04:10 +0200
committerChristian König <[email protected]>2011-04-07 23:04:10 +0200
commit19402275fb36fc8cb5afaab63b224487e00313f9 (patch)
tree3885999c196ea3c721cc7782bd20cad1efb45f22
parent30c4a07310e880d6ccb2f66efc30e123b8ae60e2 (diff)
[g3dvl] stop waiting for replay of DRI2CopyRegion
-rw-r--r--src/gallium/winsys/g3dvl/dri/dri2.c5
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 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();
}