Log which present modes are supported.

This commit is contained in:
Hans-Kristian Arntzen 2016-06-13 22:00:32 +02:00
parent e7b4f4fd4d
commit 21be54501b

View File

@ -1855,6 +1855,12 @@ bool vulkan_create_swapchain(gfx_ctx_vulkan_data_t *vk,
vk->context.gpu, vk->vk_surface,
&present_mode_count, present_modes);
for (i = 0; i < present_mode_count; i++)
{
RARCH_LOG("[Vulkan]: Swapchain supports present mode: %u.\n",
present_modes[i]);
}
for (i = 0; i < present_mode_count; i++)
{
if (!swap_interval && present_modes[i] == VK_PRESENT_MODE_MAILBOX_KHR)