Merge pull request #11735 from webgeek1234/master

android: retro_sleep build fix
This commit is contained in:
Autechre 2020-12-23 01:13:49 +01:00 committed by GitHub
commit 50a6aca0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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