Fixing VMA improper destruction

This commit is contained in:
Dynamitos committed 2024-01-17 19:34:38 +01:00
1 parent 524f26d921
commit 00672cf08e
8 files changed
+41 -23

No files matched your search

+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);