Destroy query pools on shutdown

This commit is contained in:
baldurk
2025-07-15 12:37:35 +01:00
parent d1ce4ac412
commit e11f3036d8
+3
View File
@@ -513,6 +513,9 @@ void main(void)
vkDeviceWaitIdle(device);
vkDestroyQueryPool(device, compactedPool, NULL);
vkDestroyQueryPool(device, serialisedPool, NULL);
vkDestroyAccelerationStructureKHR(device, newBlas, NULL);
vkDestroyAccelerationStructureKHR(device, tlas, NULL);
vkDestroyAccelerationStructureKHR(device, blas, NULL);