Fixing VMA improper destruction

This commit is contained in:
Dynamitos
2024-01-17 19:34:38 +01:00
parent 524f26d921
commit 00672cf08e
8 changed files with 41 additions and 23 deletions
+8 -1
View File
@@ -159,7 +159,10 @@ void AssetRegistry::peekFolder(AssetFolder* folder)
peekFolder(folder->children[stem]);
continue;
}
if(entry.path().filename().compare(".DS_Store") == 0)
{
continue;
}
auto stream = std::ifstream(entry.path(), std::ios::binary);
ArchiveBuffer buffer(graphics);
@@ -180,6 +183,10 @@ void AssetRegistry::loadFolder(AssetFolder* folder)
continue;
}
if(entry.path().filename().compare(".DS_Store") == 0)
{
continue;
}
auto stream = std::ifstream(path, std::ios::binary);
ArchiveBuffer buffer(graphics);