From 7a0b0f570971b62d77b9aa56ea00be0c03c60304 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 8 Mar 2022 11:21:36 -0800 Subject: [PATCH] suboptimal on recreate is still technically fine --- src/Refresh_Driver_Vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index f824acc..512cc1c 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -9001,7 +9001,7 @@ static Refresh_Texture* VULKAN_AcquireSwapchainTexture( &swapchainImageIndex ); - if (acquireResult != VK_SUCCESS) + if (acquireResult != VK_SUCCESS && acquireResult != VK_SUBOPTIMAL_KHR) { return NULL; }