mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-06 06:35:00 -06:00
release command buffers
This commit is contained in:
parent
adf0b5cbd4
commit
388bbe2586
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user