Skip to content

Commit

Permalink
Merge pull request microsoft#729 from TheRaddestBro/pipeline_state_ob…
Browse files Browse the repository at this point in the history
…ject_uninitialized_pso

m_PSO does not get initialized when creating a new PSO object.
  • Loading branch information
stanard authored Jul 20, 2021
2 parents 0efb8e1 + 8651429 commit 8f05bd5
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 8f05bd5

Please sign in to comment.