Merge pull request #14023 from sonninnos/vulkan-logging

(Vulkan) Show swapchain images logging again
This commit is contained in:
LibretroAdmin 2022-06-08 07:09:54 +01:00 committed by GitHub
commit ea914e80e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -3195,11 +3195,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
if (old_swapchain == VK_NULL_HANDLE)
RARCH_LOG("[Vulkan]: Got %u swapchain images.\n",
vk->context.num_swapchain_images);
#endif
/* Force driver to reset swapchain image handles. */
vk->context.invalid_swapchain = true;