Forgetting to delete leads to memoryleaks

This commit is contained in:
Dynamitos committed 2023-11-07 16:55:13 +01:00
1 parent 46a0befb80
commit ecb5050dc7
29 files changed
+178 -173

No files matched your search

+2 -1
View File
@@ -80,10 +80,11 @@ public:
virtual OPipelineLayout createPipelineLayout(PPipelineLayout baseLayout = nullptr) = 0;
virtual void copyTexture(Gfx::PTexture srcTexture, Gfx::PTexture dstTexture) = 0;
bool supportMeshShading() const { return meshShadingEnabled; }
protected:
QueueFamilyMapping queueMapping;
OShaderCompiler shaderCompiler;
bool meshShadingEnabled = false;
friend class Window;
};
DEFINE_REF(Graphics)