Skip to content

Commit

Permalink
Fix uninitialized pointers leading to crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Jan 9, 2024
1 parent 3e83452 commit 8bf04df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/graphics/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ Graphics::Graphics()
, fanIndexBuffer(nullptr)
, capabilities()
, defaultTextures()
, defaultTexelBuffers()
, defaultStorageBuffer(nullptr)
, cachedShaderStages()
{
transformStack.reserve(16);
Expand Down

0 comments on commit 8bf04df

Please sign in to comment.