diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-07-21 17:40:37 -0400 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2010-07-21 17:40:37 -0400 |
commit | 600c85efdb0ff498c1f62e74efbda9f7096a74d3 (patch) | |
tree | f70709cccec2cef14f17cec6a7d113cbde1035c3 | |
parent | 0bca8fbfdab4a19ddbb4f33aaef372246a5d2cc2 (diff) |
Revert "dri2: Remove an unused variable."
glx_info is used if X_DRI2SwapBuffers is defined
This reverts commit c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605.
-rw-r--r-- | src/glx/dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri2.c b/src/glx/dri2.c index 6b8b2b99ed..ab530baf0f 100644 --- a/src/glx/dri2.c +++ b/src/glx/dri2.c @@ -88,6 +88,7 @@ static Bool DRI2WireToEvent(Display *dpy, XEvent *event, xEvent *wire) { XExtDisplayInfo *info = DRI2FindDisplay(dpy); + XExtDisplayInfo *glx_info = __glXFindDisplay(dpy); XextCheckExtension(dpy, info, dri2ExtensionName, False); |