mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
egl: pass the dri2_dpy to the $plat_teardown functions
Cc: Mark Janes <mark.a.janes@intel.com> Fixes:40a01c9a0e("egl/drm: move teardown code to the platform file") Fixes:8d745abc00("egl/wayland: move teardown code to the platform file") Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Dylan Baker <dylan@pnwbakers.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103784
This commit is contained in:
parent
306914db92
commit
9b02230466
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue