From 825f3769f0c2d11ad43ab6858de7b8293f8bb21d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=85=E6=9C=9D=20=E7=8E=8B?= <2410111241@qq.com> Date: Fri, 11 Apr 2025 21:54:38 +0800 Subject: [PATCH] remove "CommandListManager* m_OwningManager;" in CommandContext.h .cpp --- MiniEngine/Core/CommandContext.cpp | 1 - MiniEngine/Core/CommandContext.h | 1 - 2 files changed, 2 deletions(-) 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;