diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 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(); } |