Trying to fix weird sync issue

This commit is contained in:
Dynamitos committed 2024-01-26 23:19:18 +01:00
1 parent 09790c4cbd
commit 1bf08f696b
12 files changed
+54 -31

No files matched your search

+1 -1
View File
@@ -459,7 +459,7 @@ CommandPool::CommandPool(PGraphics graphics, PQueue queue)
.queueFamilyIndex = queue->getFamilyIndex(),
};
VK_CHECK(vkCreateCommandPool(graphics->getDevice(), &info, nullptr, &commandPool));
// TODO: dont reset individual commands, reset pool instead
allocatedBuffers.add(new Command(graphics, commandPool, this));
command = allocatedBuffers.back();