diff options
Diffstat (limited to 'src/entities.cpp')
| -rw-r--r-- | src/entities.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index 53ab9da..1abe632 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -175,6 +175,7 @@ void EntityType_Inner_DestroyDescriptors(EntityType *et) { // If we switch to a global pool, we will need to free here, and // destroy the pool outside of this loop vkDestroyDescriptorPool(vkDevice, et->details[k].vkDescriptorPool, vkAllocator); + pk_delete<VkDescriptorSet>(et->details[k].grBinds->vkDescriptorSets, prevSwapchainLength, MemBkt_Vulkan); et->details[k].grBinds->vkDescriptorSets = CAFE_BABE(VkDescriptorSet); } } |
