Vulkan: fix missing swapchain image acquire semaphore (#3655)

This commit is contained in:
Vincent Bousquet
2026-04-09 23:20:28 +02:00
committed by GitHub
parent 48a1f88bcc
commit 8a070c8e27

View File

@@ -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.");