this is broken, let vulkan wsi handle buffer management
Fixes:
74451ed3f08 ("egl/wayland: wait for compositor to release shm buffers")
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24700>
/* wait for the compositor to release a buffer */
if (!dri2_surf->back) {
- if (wl_display_dispatch_queue(dri2_dpy->wl_dpy, dri2_surf->wl_queue) ==
- -1) {
+ bool error = zink || wl_display_dispatch_queue(dri2_dpy->wl_dpy, dri2_surf->wl_queue) == -1;
+ if (error) {
_eglError(EGL_BAD_ALLOC, "waiting for a free buffer failed");
return -1;
}