forked from Dynamitos/Seele
Bit of shader refactoring
This commit is contained in:
1 parent
52c7fce931
commit
2ad7eae60b
6 files changed
+18
-33
No files matched your search
@@ -468,10 +468,7 @@ CommandPool::CommandPool(PGraphics graphics, PQueue queue)
|
||||
|
||||
CommandPool::~CommandPool()
|
||||
{
|
||||
for (auto& command : allocatedBuffers)
|
||||
{
|
||||
command->waitForCommand();
|
||||
}
|
||||
vkDeviceWaitIdle(graphics->getDevice());
|
||||
allocatedRenderCommands.clear();
|
||||
allocatedComputeCommands.clear();
|
||||
allocatedBuffers.clear();
|
||||
|
||||
Reference in new issue
Block a user