vulkan/wsi: Don't set use_buffer_blit manually in the win32 WSI logic
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 27 Apr 2022 18:07:50 +0000 (20:07 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Jan 2023 09:31:02 +0000 (09:31 +0000)
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>

src/vulkan/wsi/wsi_common_win32.c

index d53fb78..b3020a4 100644 (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,