Vulkan/CommandBuffer: Fix crash when moving
Former-commit-id: fbb9c69e709109ca9f06def3bf8b35e112ee294c
This commit is contained in:
parent
358f0ea87b
commit
aa654b5caf
|
|
@ -33,6 +33,7 @@ namespace Nz
|
|||
|
||||
inline void CommandBuffer::Free()
|
||||
{
|
||||
if (m_handle)
|
||||
m_pool->GetDevice().vkFreeCommandBuffers(m_pool->GetDevice(), *m_pool, 1, &m_handle);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue