mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Reset allocator after GPU sync to avoid excessive leaking
This commit is contained in:
@@ -1327,6 +1327,8 @@ void WrappedID3D12Device::FlushLists(bool forceSync)
|
||||
m_InternalCmds.submittedcmds.begin(),
|
||||
m_InternalCmds.submittedcmds.end());
|
||||
m_InternalCmds.submittedcmds.clear();
|
||||
|
||||
m_Alloc->Reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user