Skip to content

wsi/wayland: Init outstanding list earlier.

Hans-Kristian Arntzen requested to merge themaister/mesa:wl-teardown-fix into main

Fixes a crash if swapchain free is called before the list is initialized. This only happens when swapchain init fails, so it is highly unlikely to happen in practical scenarios.

Fixes dEQP-VK.wsi.wayland.swapchain.simulate_oom.min_image_count.

Fixes 0d51cd48 ("wsi/wl: Improve fallback for present_wait").

Signed-off-by: Hans-Kristian Arntzen post@arntzen-software.no

cc: mesa-stable

fixes #10866 (closed)

Edited by Hans-Kristian Arntzen

Merge request reports