Close list immediately after creation, so it can always be reset on use

This commit is contained in:
baldurk
2016-07-08 16:18:07 +03:00
parent 15aaf56781
commit 9cd6b1ead2
+2
View File
@@ -1226,6 +1226,8 @@ void WrappedID3D12Device::CreateInternalResources()
m_pDevice->CreateFence(0, D3D12_FENCE_FLAG_NONE, __uuidof(ID3D12Fence), (void **)&m_GPUSyncFence);
m_GPUSyncHandle = ::CreateEvent(NULL, FALSE, FALSE, NULL);
m_List->Close();
m_GPUSyncCounter = 0;
}