egl: fix teardown when using xcb

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29459>
This commit is contained in:
Eric Engestrom 2024-05-29 10:20:26 +02:00 committed by Marge Bot
parent 99af53c6fd
commit 54dd83e736

View file

@ -1167,6 +1167,7 @@ dri2_display_destroy(_EGLDisplay *disp)
switch (disp->Platform) {
case _EGL_PLATFORM_X11:
case _EGL_PLATFORM_XCB:
dri2_teardown_x11(dri2_dpy);
break;
case _EGL_PLATFORM_DRM: