Skip to content

vulkan/wsi/wayland: fix present mode check.

What does this MR do and why?

vulkan/wsi/wayland: fix present mode check.

The code was checking the present mode before the chain structure was initialised.

Just check the createinfo instead.

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

Merge request reports