Bring back number of swapchain images log (#13836)

Co-authored-by: nfp0 <nf.pereira@live.com>
This commit is contained in:
nfp0 2022-04-06 18:52:22 +01:00 committed by GitHub
parent 85fef3427a
commit d13fec5db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3247,10 +3247,9 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
vkGetSwapchainImagesKHR(vk->context.device, vk->swapchain,
&vk->context.num_swapchain_images, vk->context.swapchain_images);
#ifdef VULKAN_DEBUG
RARCH_LOG("[Vulkan]: Got %u swapchain images.\n",
vk->context.num_swapchain_images);
#endif
if (old_swapchain == VK_NULL_HANDLE)
RARCH_LOG("[Vulkan]: Got %u swapchain images.\n",
vk->context.num_swapchain_images);
/* Force driver to reset swapchain image handles. */
vk->context.invalid_swapchain = true;