uncomment drc swap buffer

This commit is contained in:
Samuliak 2024-08-27 08:18:17 +02:00
parent cd8b74ba32
commit 3439b3259e

View File

@ -242,12 +242,12 @@ void MetalRenderer::SwapBuffers(bool swapTV, bool swapDRC)
{ {
if (swapTV) if (swapTV)
SwapBuffer(true); SwapBuffer(true);
//if (swapDRC) if (swapDRC)
// SwapBuffer(false); SwapBuffer(false);
// Release all the command buffers // Release all the command buffers
CommitCommandBuffer(); CommitCommandBuffer();
// TODO: should this be released here? // TODO: release
//for (uint32 i = 0; i < m_commandBuffers.size(); i++) //for (uint32 i = 0; i < m_commandBuffers.size(); i++)
// m_commandBuffers[i].m_commandBuffer->release(); // m_commandBuffers[i].m_commandBuffer->release();
m_commandBuffers.clear(); m_commandBuffers.clear();