Adding delayed destruction for resources

This commit is contained in:
Dynamitos committed 2023-11-12 16:11:27 +01:00
1 parent c1e4891456
commit b3c9af384b
10 files changed
+92 -23

No files matched your search

@@ -156,6 +156,7 @@ void CmdBuffer::refreshFence()
descriptor->unbind();
}
boundDescriptors.clear();
graphics->getDestructionManager()->notifyCmdComplete(this);
state = State::ReadyBegin;
}
}