mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
release command buffers
This commit is contained in:
parent
adf0b5cbd4
commit
388bbe2586
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue