Reset allocator after GPU sync to avoid excessive leaking

This commit is contained in:
baldurk
2016-07-10 16:42:24 +03:00
parent 0f6f06c5ec
commit 5420ab3256
+2
View File
@@ -1327,6 +1327,8 @@ void WrappedID3D12Device::FlushLists(bool forceSync)
m_InternalCmds.submittedcmds.begin(),
m_InternalCmds.submittedcmds.end());
m_InternalCmds.submittedcmds.clear();
m_Alloc->Reset();
}
}