summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/egl_drm
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-07-07 15:49:59 +0200
committerJakob Bornecrantz <[email protected]>2008-07-07 15:56:19 +0200
commit3596339d31d05b7d5120290a7b866485c395b5f2 (patch)
treec06d2bedb5a7c43ebb1c0cbae333337ac4b05985 /src/gallium/winsys/egl_drm
parent7420bc05a862db09b8d5f34a7760fa19b578b4d0 (diff)
i915: Fix wrong pointer to cleanup
Diffstat (limited to 'src/gallium/winsys/egl_drm')
-rw-r--r--src/gallium/winsys/egl_drm/intel/intel_egl.c2
1 files changed, 1 insertions, 1 deletions
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;