This commit is contained in:
twinaphex 2020-12-21 21:04:31 +01:00
parent 2ed59ea789
commit 16bb56b7a2

View File

@ -618,7 +618,9 @@ static void gfx_ctx_wl_swap_buffers(void *data)
{
wl->vk.context.has_acquired_swapchain = false;
if (wl->vk.swapchain == VK_NULL_HANDLE)
{
retro_sleep(10);
}
else
vulkan_present(&wl->vk, wl->vk.context.current_swapchain_index);
}