mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-05 11:57:53 +00:00
Ensure we sync GPU work before destroying an output window on D3D12
This commit is contained in:
1 file changed
+2
@@ -210,6 +210,8 @@ void D3D12Replay::DestroyOutputWindow(uint64_t id)
|
||||
|
||||
OutputWindow &outw = it->second;
|
||||
|
||||
m_pDevice->FlushLists(true);
|
||||
|
||||
SAFE_RELEASE(outw.swap);
|
||||
SAFE_RELEASE(outw.bb[0]);
|
||||
SAFE_RELEASE(outw.bb[1]);
|
||||
|
||||
Reference in new issue
Block a user