Skip to content

vulkan/wsi/wayland: simplify wl_surface version check

Simon Ser requested to merge emersion/mesa:wsi-surface-get-version into main

No need to cast to a wl_proxy, there is a wl_surface variant available.

No need to cache the result of get_version(), this is just a one-line getter and doesn't perform any roundtrip.

Signed-off-by: Simon Ser contact@emersion.fr

cc @daniels

Merge request reports