1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

vk: Allow flipping without wait

This commit is contained in:
kd-11 2021-05-08 19:08:53 +03:00 committed by kd-11
parent e3944bc67f
commit 0b18ec8208

View File

@ -760,8 +760,12 @@ namespace vk
present.swapchainCount = 1;
present.pSwapchains = &m_vk_swapchain;
present.pImageIndices = ℑ
present.waitSemaphoreCount = 1;
present.pWaitSemaphores = &semaphore;
if (semaphore != VK_NULL_HANDLE)
{
present.waitSemaphoreCount = 1;
present.pWaitSemaphores = &semaphore;
}
return _vkQueuePresentKHR(dev.get_present_queue(), &present);
}