summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/egl_drm/intel/intel_egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/egl_drm/intel/intel_egl.c b/src/gallium/winsys/egl_drm/intel/intel_egl.c
index ed96703e37e..4d7e0f4bd57 100644
--- a/src/gallium/winsys/egl_drm/intel/intel_egl.c
+++ b/src/gallium/winsys/egl_drm/intel/intel_egl.c
@@ -213,6 +213,8 @@ drm_terminate(_EGLDriver *drv, EGLDisplay dpy)
drmClose(drm_drv->device->drmFD);
free(drm_drv->device);
+
+ _eglCleanupDisplay(drv);
free(drm_drv);
return EGL_TRUE;