Skip to content

Commit 25d2841

Browse files
committed
Fix releasing resources on command pool (?)
1 parent dbfbb1a commit 25d2841

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nbl/video/CVulkanCommandBuffer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,8 @@ class CVulkanCommandBuffer : public IGPUCommandBuffer
13981398

13991399
CVulkanCommandPool* vulkanCommandPool = IBackendObject::compatibility_cast<CVulkanCommandPool*>(m_cmdpool.get(), this);
14001400
vulkanCommandPool->emplace_n(m_argListTail, begin, end);
1401+
// TODO: verify this
1402+
if (!m_argListHead) m_argListHead = m_argListTail;
14011403

14021404
return true;
14031405
}

0 commit comments

Comments
 (0)