egl: fix teardown when using xcb

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29459>
(cherry picked from commit 54dd83e736)
This commit is contained in:
Eric Engestrom 2024-05-29 10:20:26 +02:00 committed by Eric Engestrom
parent fcd9f66631
commit 8840fac91d
2 changed files with 2 additions and 1 deletions

View file

@ -304,7 +304,7 @@
"description": "egl: fix teardown when using xcb",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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: