mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Close list immediately after creation, so it can always be reset on use
This commit is contained in:
@@ -1226,6 +1226,8 @@ void WrappedID3D12Device::CreateInternalResources()
|
||||
m_pDevice->CreateFence(0, D3D12_FENCE_FLAG_NONE, __uuidof(ID3D12Fence), (void **)&m_GPUSyncFence);
|
||||
m_GPUSyncHandle = ::CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||
|
||||
m_List->Close();
|
||||
|
||||
m_GPUSyncCounter = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user