Rt works now, no idea why

This commit is contained in:
Dynamitos committed 2024-07-15 09:18:59 +02:00
1 parent 42d98d7233
commit 38986f4bfc
21 files changed
+251 -206

No files matched your search

+2
View File
@@ -76,6 +76,8 @@ DestructionManager::DestructionManager(PGraphics graphics) : graphics(graphics)
DestructionManager::~DestructionManager() {}
void DestructionManager::queueResourceForDestruction(OCommandBoundResource resource) {
if (resource == nullptr)
return;
if (resource->isCurrentlyBound()) {
resources.add(std::move(resource));
}