If a def. context is created mid-capture, immediately start capturing it

This commit is contained in:
baldurk
2016-06-21 11:36:33 +02:00
parent 072b61cc3e
commit 2f65ba9fe8
@@ -2487,6 +2487,9 @@ HRESULT WrappedID3D11Device::CreateDeferredContext(UINT ContextFlags,
wrapped = w;
if(m_State == WRITING_CAPFRAME)
w->AttemptCapture();
if(m_State >= WRITING)
{
AddDeferredContext(w);