mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 01:16:31 +00:00
Make sure struct is properly initialised
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user