mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
If a def. context is created mid-capture, immediately start capturing it
This commit is contained in:
@@ -2487,6 +2487,9 @@ HRESULT WrappedID3D11Device::CreateDeferredContext(UINT ContextFlags,
|
||||
|
||||
wrapped = w;
|
||||
|
||||
if(m_State == WRITING_CAPFRAME)
|
||||
w->AttemptCapture();
|
||||
|
||||
if(m_State >= WRITING)
|
||||
{
|
||||
AddDeferredContext(w);
|
||||
|
||||
Reference in New Issue
Block a user