[idd] handle frame re-send for when a new client connects

This commit is contained in:
Geoffrey McRae committed 2025-03-16 19:37:03 +00:00
1 parent ce23cff12e
commit 7a88a49f1c
5 files changed
+10 -34

No files matched your search

-19
View File
@@ -217,23 +217,4 @@ void CSwapChainProcessor::SwapChainNewFrame(ComPtr<IDXGIResource> acquiredBuffer
m_dx12Device->GetCopyQueue().Reset();
m_devContext->FinalizeFrameBuffer();
}
void CSwapChainProcessor::ResendLastFrame()
{
/*
LOCK_CONTEXT()
StagingTexture & st = m_cpuTex[m_lastIndex];
LOCK_ST(st);
UNLOCK_CONTEXT();
if (!st.map.pData)
{
UNLOCK_ST(st);
return;
}
m_devContext->SendFrame(st.width, st.height, st.map.RowPitch, st.format, st.map.pData);
UNLOCK_ST(st);
*/
}