Skip to content

wsi/wayland: fix reported present modes

Eric Engestrom requested to merge eric/mesa:wsi-wayland-present into main

The two got swapped at some point, probably during some rebase.

Avoid the issue by using the variable directly and de-duplicating the code path.

Fixes: 5ceba97c ("vulkan/wsi/wayland: add support for IMMEDIATE")

Merge request reports