diff --git a/examples/computeparticles/computeparticles.cpp b/examples/computeparticles/computeparticles.cpp index 771d6405..a063d77a 100644 --- a/examples/computeparticles/computeparticles.cpp +++ b/examples/computeparticles/computeparticles.cpp @@ -110,7 +110,6 @@ public: vkDestroyPipeline(device, compute.pipeline, nullptr); vkDestroySemaphore(device, compute.semaphore, nullptr); vkDestroyCommandPool(device, compute.commandPool, nullptr); - vkDestroyCommandPool(device, compute.commandPool, nullptr); textures.particle.destroy(); textures.gradient.destroy(); @@ -831,4 +830,4 @@ public: } }; -VULKAN_EXAMPLE_MAIN() \ No newline at end of file +VULKAN_EXAMPLE_MAIN()