Skip to content

vulkan/wsi: Fix stack-use-after-scope in x11_surface_create_swapchain

David Rosca requested to merge nowrep/mesa:vk-wsix11-useafterscope into main

What does this MR do and why?

vulkan/wsi: Fix stack-use-after-scope in x11_surface_create_swapchain

drm_image_params and num_modifiers are used outside the if-scope as
wsi_swapchain_init argument.

Fixes: 8f6fca89aa1 ("meson: delete dri3 build option")

Merge request reports

Loading