diff options
author | Emil Velikov <[email protected]> | 2017-11-16 18:33:22 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-11-16 18:46:01 +0000 |
commit | 9b0223046668593deb9c0be0b557994bb5218788 (patch) | |
tree | 5a8e4914024af223ab88747b7d4c79f32650c780 /src/egl/drivers/dri2 | |
parent | 306914db92e12d5424493d0ea2c4566b393c58c8 (diff) |
egl: pass the dri2_dpy to the $plat_teardown functions
Cc: Mark Janes <[email protected]>
Fixes: 40a01c9a0ef ("egl/drm: move teardown code to the platform file")
Fixes: 8d745abc009 ("egl/wayland: move teardown code to the platform file")
Signed-off-by: Emil Velikov <[email protected]>
Tested-by: Dylan Baker <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103784
Diffstat (limited to 'src/egl/drivers/dri2')
-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 */ |