projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bca8fb
)
Revert "dri2: Remove an unused variable."
author
Jerome Glisse
<jglisse@redhat.com>
Wed, 21 Jul 2010 21:40:37 +0000
(17:40 -0400)
committer
Jerome Glisse
<jglisse@redhat.com>
Wed, 21 Jul 2010 21:40:37 +0000
(17:40 -0400)
glx_info is used if X_DRI2SwapBuffers is defined
This reverts commit
c0ca2bfb2ad8cf7fb9d756b5ae52cb77236ff605
.
src/glx/dri2.c
patch
|
blob
|
history
diff --git
a/src/glx/dri2.c
b/src/glx/dri2.c
index 6b8b2b99ed66a1c6dcaf9ae7f5243b08356e8b37..ab530baf0f67b2a410ff216a55cbe0911ee952f5 100644
(file)
--- 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);