Make sure struct is properly initialised

This commit is contained in:
baldurk
2016-08-06 18:31:41 +02:00
parent 09a73a1ac7
commit d026705c50
@@ -578,11 +578,20 @@ HRESULT STDMETHODCALLTYPE WrappedID3D12GraphicsCommandList::QueryInterface(REFII
D3D12CommandData::D3D12CommandData()
{
m_CurChunkOffset = 0;
m_RootEventID = 1;
m_RootDrawcallID = 1;
m_FirstEventID = 0;
m_LastEventID = ~0U;
m_pDevice = NULL;
m_pSerialiser = NULL;
m_DrawcallCallback = NULL;
m_AddedDrawcall = false;
m_RootDrawcallStack.push_back(&m_ParentDrawcall);
}