forked from Dynamitos/Seele
Adding basic keyboard input
This commit is contained in:
1 parent
897eda18b0
commit
ec760e8deb
18 files changed
+167
-90
No files matched your search
@@ -468,6 +468,13 @@ CommandPool::CommandPool(PGraphics graphics, PQueue queue)
|
||||
|
||||
CommandPool::~CommandPool()
|
||||
{
|
||||
for (auto& command : allocatedBuffers)
|
||||
{
|
||||
command->waitForCommand();
|
||||
}
|
||||
allocatedRenderCommands.clear();
|
||||
allocatedComputeCommands.clear();
|
||||
allocatedBuffers.clear();
|
||||
vkDestroyCommandPool(graphics->getDevice(), commandPool, nullptr);
|
||||
graphics = nullptr;
|
||||
queue = nullptr;
|
||||
|
||||
Reference in new issue
Block a user