mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-08 11:38:16 +00:00
Vulkan: fix missing swapchain image acquire semaphore (#3655)
This commit is contained in:
@@ -8725,7 +8725,7 @@ retry:
|
||||
|
||||
void CommandQueueVK::addSwapChain(SwapChainVK& _swapChain)
|
||||
{
|
||||
if (VK_NULL_HANDLE == _swapChain.m_lastImageAcquiredSemaphore)
|
||||
if (VK_NULL_HANDLE != _swapChain.m_lastImageAcquiredSemaphore)
|
||||
{
|
||||
BX_ASSERT(m_numWaitSemaphores < BX_COUNTOF(m_waitSemaphores), "Too many wait semaphores.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user