Skip to content

Commit

Permalink
Traktor: Removed assert in CommandBuffer wait, since waiting for fenc…
Browse files Browse the repository at this point in the history
…e should be safe from any other thread as long as command buffer is submitted on same thread as it was allocated on.
  • Loading branch information
apistol78 committed Jan 1, 2025
1 parent 9a70279 commit b0d22cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/Render/Vulkan/Private/CommandBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ bool CommandBuffer::submit(const StaticVector< VkSemaphore, 2 >& waitSemaphores,

bool CommandBuffer::wait()
{
T_ASSERT(ThreadManager::getInstance().getCurrentThread() == m_thread);

if (!m_submitted)
return true;

Expand Down

0 comments on commit b0d22cc

Please sign in to comment.