Nothing works
This commit is contained in:
1 parent
98a7e16756
commit
62d6662ad1
14 files changed
+244
-187
No files matched your search
@@ -88,7 +88,7 @@ DescriptorPool::DescriptorPool(PGraphics graphics, PDescriptorLayout layout)
|
||||
DescriptorPool::~DescriptorPool() {
|
||||
for (size_t i = 0; i < maxSets; ++i) {
|
||||
if (cachedHandles[i] != nullptr) {
|
||||
cachedHandles[i] = nullptr;
|
||||
graphics->getDestructionManager()->queueResourceForDestruction(std::move(cachedHandles[i]));
|
||||
}
|
||||
}
|
||||
vkDestroyDescriptorPool(graphics->getDevice(), poolHandle, nullptr);
|
||||
|
||||
Reference in new issue
Block a user