mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Another buildfix for retro_sleep
This commit is contained in:
parent
16bb56b7a2
commit
627b668da8
@ -155,7 +155,9 @@ static void gfx_ctx_x_vk_swap_buffers(void *data)
|
||||
{
|
||||
x->vk.context.has_acquired_swapchain = false;
|
||||
if (x->vk.swapchain == VK_NULL_HANDLE)
|
||||
{
|
||||
retro_sleep(10);
|
||||
}
|
||||
else
|
||||
vulkan_present(&x->vk, x->vk.context.current_swapchain_index);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user