diff --git a/MiniEngine/Core/CommandContext.cpp b/MiniEngine/Core/CommandContext.cpp index ec2695d73..9423b5e70 100644 --- a/MiniEngine/Core/CommandContext.cpp +++ b/MiniEngine/Core/CommandContext.cpp @@ -166,7 +166,6 @@ CommandContext::CommandContext(D3D12_COMMAND_LIST_TYPE Type) : m_CpuLinearAllocator(kCpuWritable), m_GpuLinearAllocator(kGpuExclusive) { - m_OwningManager = nullptr; m_CommandList = nullptr; m_CurrentAllocator = nullptr; ZeroMemory(m_CurrentDescriptorHeaps, sizeof(m_CurrentDescriptorHeaps)); diff --git a/MiniEngine/Core/CommandContext.h b/MiniEngine/Core/CommandContext.h index ec5b5669d..c8dfd577a 100644 --- a/MiniEngine/Core/CommandContext.h +++ b/MiniEngine/Core/CommandContext.h @@ -166,7 +166,6 @@ class CommandContext : NonCopyable void BindDescriptorHeaps( void ); - CommandListManager* m_OwningManager; ID3D12GraphicsCommandList* m_CommandList; ID3D12CommandAllocator* m_CurrentAllocator;