From 7bd8b0753ddf705b5a9fd37a51ac7650f689f0d4 Mon Sep 17 00:00:00 2001 From: Yunju Lee Date: Sun, 15 Mar 2020 11:04:13 -0400 Subject: [PATCH] Fixed #682 --- examples/computeparticles/computeparticles.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()