forked from Dynamitos/Seele
Forgetting to delete leads to memoryleaks
This commit is contained in:
1 parent
46a0befb80
commit
ecb5050dc7
29 files changed
+178
-173
No files matched your search
@@ -21,7 +21,7 @@ AssetRegistry::~AssetRegistry()
|
||||
delete assetRoot;
|
||||
}
|
||||
|
||||
void AssetRegistry::init(const std::string& rootFolder, Gfx::PGraphics graphics)
|
||||
void AssetRegistry::init(std::filesystem::path rootFolder, Gfx::PGraphics graphics)
|
||||
{
|
||||
get().initialize(rootFolder, graphics);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user