mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 21:31:36 +00:00
Reset allocator after GPU sync to avoid excessive leaking
This commit is contained in:
1 parent
0f6f06c5ec
commit
5420ab3256
1 file changed
+2
@@ -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