diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index c362206a431..7cc9f20ba25 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -992,10 +992,10 @@ dri2_display_destroy(_EGLDisplay *disp) dri2_teardown_x11(dri2_dpy); break; case _EGL_PLATFORM_DRM: - dri2_teardown_drm(disp); + dri2_teardown_drm(dri2_dpy); break; case _EGL_PLATFORM_WAYLAND: - dri2_teardown_wayland(disp); + dri2_teardown_wayland(dri2_dpy); break; default: /* TODO: add teardown for other platforms */ |