vulkan/wsi: Don't set use_buffer_blit manually in the win32 WSI logic

We can simply pass use_buffer_blit=true to wsi_swapchain_init().

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16200>
This commit is contained in:
Boris Brezillon 2022-04-27 20:07:50 +02:00 committed by Marge Bot
parent 5fb2adb8fd
commit bbcbf2cd91

View file

@ -474,7 +474,6 @@ wsi_win32_surface_create_swapchain(
chain->surface = surface;
assert(wsi_device->sw);
chain->base.use_buffer_blit = true;
for (uint32_t image = 0; image < num_images; image++) {
result = wsi_win32_image_init(device, chain,