Skip to content

Commit

Permalink
m_PSO does not get initialized when creating a new PSO object. This c…
Browse files Browse the repository at this point in the history
…an lead to some oddities when making copies of a non-finalized PSO object.
  • Loading branch information
TheRaddestBro committed Jul 20, 2021
1 parent 0efb8e1 commit 8651429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MiniEngine/Core/PipelineState.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 8651429

Please sign in to comment.