summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-05-05 16:23:46 +1000
committerDave Airlie <airlied@redhat.com>2011-05-05 16:25:33 +1000
commitdc4a3edcf9d414d5098618d5d3b79d8dd90adcc3 (patch)
tree16ed7955052b42d3c8b5c247d1b241ba2ff94272 /src/glx/dri2.c
parentae7abf080b5c43e3736db2ed0d0e03ed59eb5ea4 (diff)
downloadexternal_mesa3d-dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3.zip
external_mesa3d-dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3.tar.gz
external_mesa3d-dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3.tar.bz2
Revert "DRI2/GLX: make swap event handling match spec"
This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8. revert this until we sort things out, with a new glproto release with compatible struct names.
Diffstat (limited to 'src/glx/dri2.c')
-rw-r--r--src/glx/dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri2.c b/src/glx/dri2.c
index 2f18ca0..adfd3d1 100644
--- a/src/glx/dri2.c
+++ b/src/glx/dri2.c
@@ -124,7 +124,7 @@ DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire)
}
aevent->ust = ((CARD64)awire->ust_hi << 32) | awire->ust_lo;
aevent->msc = ((CARD64)awire->msc_hi << 32) | awire->msc_lo;
- aevent->sbc = awire->sbc;
+ aevent->sbc = ((CARD64)awire->sbc_hi << 32) | awire->sbc_lo;
return True;
}
#endif