mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Close readback list after creation, so we can just always reset it
This commit is contained in:
@@ -247,6 +247,9 @@ D3D12DebugManager::D3D12DebugManager(WrappedID3D12Device *wrapper)
|
||||
RDCERR("Failed to create readback command list, HRESULT: 0x%08x", hr);
|
||||
return;
|
||||
}
|
||||
|
||||
if(m_ReadbackList)
|
||||
m_ReadbackList->Close();
|
||||
}
|
||||
|
||||
RenderDoc::Inst().SetProgress(DebugManagerInit, 0.2f);
|
||||
|
||||
Reference in New Issue
Block a user