summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/xdri/egl_xdri.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-22 14:13:25 +0800
committerChia-I Wu <[email protected]>2010-01-22 14:54:40 +0800
commitfe0e35aba8bb2472630a18edb232d7379ef17eaf (patch)
tree6b5460d58dad6e5adf928bf4634b79155f34b2f9 /src/egl/drivers/xdri/egl_xdri.c
parent0e54f9c529c0c015b3d227afff21da1f7b452991 (diff)
egl_xdri: Do not reinitialize in __glXInitialize.
__glXInitialize should return the same GLX display for the same X display. This issue is triggered by a35f6bb207efe3c959bbd16a37f2049e5aceeea9.
Diffstat (limited to 'src/egl/drivers/xdri/egl_xdri.c')
-rw-r--r--src/egl/drivers/xdri/egl_xdri.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/egl_xdri.c b/src/egl/drivers/xdri/egl_xdri.c
index 8425b3d11ef..e0761146daf 100644
--- a/src/egl/drivers/xdri/egl_xdri.c
+++ b/src/egl/drivers/xdri/egl_xdri.c
@@ -342,7 +342,6 @@ xdri_eglTerminate(_EGLDriver *drv, _EGLDisplay *dpy)
}
xdri_dpy->driDisplay->destroyDisplay(xdri_dpy->driDisplay);
- __glXRelease(xdri_dpy->dpyPriv);
free(xdri_dpy);
dpy->DriverData = NULL;