Browse Source

vulkan: fix memory leak

niki 1 year ago
parent
commit
21182d1428
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/graphics/vulkan/Graphics.cpp

+ 1 - 0
src/modules/graphics/vulkan/Graphics.cpp

@@ -151,6 +151,7 @@ Graphics::Graphics()
 
 Graphics::~Graphics()
 {
+	defaultConstantTexCoord.set(nullptr);
 	defaultConstantColor.set(nullptr);
 	defaultTexture.set(nullptr);