diff --git a/.pick_status.json b/.pick_status.json index 34ccd07b36f..042ef721b24 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -193,7 +193,7 @@ "description": "vulkan/wsi: fix -Wnarrowing warning", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "d7730fcf22adae92b0e7a82e36cfe28200920b5f" }, diff --git a/src/vulkan/wsi/wsi_common_win32.cpp b/src/vulkan/wsi/wsi_common_win32.cpp index 0456666658b..329e58794b1 100644 --- a/src/vulkan/wsi/wsi_common_win32.cpp +++ b/src/vulkan/wsi/wsi_common_win32.cpp @@ -755,7 +755,7 @@ wsi_win32_surface_create_swapchain_dxgi( DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL, DXGI_ALPHA_MODE_UNSPECIFIED, chain->base.present_mode == VK_PRESENT_MODE_IMMEDIATE_KHR ? - DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING : 0 + DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING : 0u }; if (create_info->imageUsage &