From: Jakob Bornecrantz Date: Mon, 7 Jul 2008 13:49:59 +0000 (+0200) Subject: i915: Fix wrong pointer to cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3596339d31d05b7d5120290a7b866485c395b5f2;p=mesa.git i915: Fix wrong pointer to cleanup --- diff --git a/src/gallium/winsys/egl_drm/intel/intel_egl.c b/src/gallium/winsys/egl_drm/intel/intel_egl.c index 98928979e75..a476490b903 100644 --- a/src/gallium/winsys/egl_drm/intel/intel_egl.c +++ b/src/gallium/winsys/egl_drm/intel/intel_egl.c @@ -214,7 +214,7 @@ drm_terminate(_EGLDriver *drv, EGLDisplay dpy) free(drm_drv->device); - _eglCleanupDisplay(drv); + _eglCleanupDisplay(_eglLookupDisplay(dpy)); free(drm_drv); return EGL_TRUE;