From 8651429b0de9208cd991ffabe8d4a022cdb155f5 Mon Sep 17 00:00:00 2001 From: Robert Hunt Date: Mon, 19 Jul 2021 22:46:55 -0700 Subject: [PATCH] m_PSO does not get initialized when creating a new PSO object. This can lead to some oddities when making copies of a non-finalized PSO object. --- MiniEngine/Core/PipelineState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiniEngine/Core/PipelineState.h b/MiniEngine/Core/PipelineState.h index 7517c64ea..a73bcd052 100644 --- a/MiniEngine/Core/PipelineState.h +++ b/MiniEngine/Core/PipelineState.h @@ -28,7 +28,7 @@ class PSO { public: - PSO(const wchar_t* Name) : m_Name(Name), m_RootSignature(nullptr) {} + PSO(const wchar_t* Name) : m_Name(Name), m_RootSignature(nullptr), m_PSO(nullptr) {} static void DestroyAll( void );