mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 21: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;
|
and->vk.context.has_acquired_swapchain = false;
|
||||||
if (and->vk.swapchain == VK_NULL_HANDLE)
|
if (and->vk.swapchain == VK_NULL_HANDLE)
|
||||||
|
{
|
||||||
retro_sleep(10);
|
retro_sleep(10);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
vulkan_present(&and->vk, and->vk.context.current_swapchain_index);
|
vulkan_present(&and->vk, and->vk.context.current_swapchain_index);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user