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:
parent
e3944bc67f
commit
0b18ec8208
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user