Browse Source

Fix uninitialized pointers leading to crashes

Sasha Szpakowski 1 year ago
parent
commit
8bf04df6e1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/modules/graphics/Graphics.cpp

+ 2 - 0
src/modules/graphics/Graphics.cpp

@@ -198,6 +198,8 @@ Graphics::Graphics()
 	, fanIndexBuffer(nullptr)
 	, fanIndexBuffer(nullptr)
 	, capabilities()
 	, capabilities()
 	, defaultTextures()
 	, defaultTextures()
+	, defaultTexelBuffers()
+	, defaultStorageBuffer(nullptr)
 	, cachedShaderStages()
 	, cachedShaderStages()
 {
 {
 	transformStack.reserve(16);
 	transformStack.reserve(16);