mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Merge pull request #11735 from webgeek1234/master
android: retro_sleep build fix
This commit is contained in:
commit
50a6aca0bf
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user