diff --git a/src/glx/dri2.c b/src/glx/dri2.c index 6b8b2b99ed6..ab530baf0f6 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);