release command buffers

This commit is contained in:
Samuliak 2025-01-12 17:04:21 +01:00
parent adf0b5cbd4
commit 388bbe2586
No known key found for this signature in database

View file

@ -1840,7 +1840,7 @@ void MetalRenderer::ProcessFinishedCommandBuffers()
if (CommandBufferCompleted(commandBuffer)) if (CommandBufferCompleted(commandBuffer))
{ {
m_memoryManager->GetTemporaryBufferAllocator().CommandBufferFinished(commandBuffer); m_memoryManager->GetTemporaryBufferAllocator().CommandBufferFinished(commandBuffer);
//commandBuffer->release(); commandBuffer->release();
it = m_executingCommandBuffers.erase(it); it = m_executingCommandBuffers.erase(it);
atLeastOneCompleted = true; atLeastOneCompleted = true;
} }