清理所有资源,有两处内存泄漏,暂时找不到了

This commit is contained in:
xsl
2025-11-12 15:03:15 +08:00
parent 8623b71ab7
commit e23ccd75cd
3 changed files with 159 additions and 11 deletions
+3
View File
@@ -143,6 +143,9 @@ public:
void SetInitArg(const char* arg);
void drawFrame(long long frameTime)override;
void destroyTexture(VkDevice device, Texture& texture);
void cleanupResources(VkDevice device, VmaAllocator allocator);
};
#endif