fix: D3D12 CommandQueue and SwapChain unit test fixes

- CommandQueue::ExecuteCommandLists: fix type conversion from void** to ID3D12CommandList**, reset command list before execution, add null checks
- SwapChain::ShouldClose: add m_shouldClose member and implement getter/setter
- SwapChain::SetFullscreen: add m_fullscreen member to track state locally
This commit is contained in:
2026-03-23 23:52:27 +08:00
parent 062984953e
commit 36c1c8338f
3 changed files with 26 additions and 6 deletions

View File

@@ -45,6 +45,8 @@ private:
uint32_t m_height;
uint32_t m_bufferCount;
std::vector<D3D12Texture> m_backBuffers;
bool m_shouldClose = false;
bool m_fullscreen = false;
};
} // namespace RHI