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)
SwapBuffer(true);
//if (swapDRC)
// SwapBuffer(false);
if (swapDRC)
SwapBuffer(false);
// Release all the command buffers
CommitCommandBuffer();
// TODO: should this be released here?
// TODO: release
//for (uint32 i = 0; i < m_commandBuffers.size(); i++)
// m_commandBuffers[i].m_commandBuffer->release();
m_commandBuffers.clear();