diff --git a/base/VulkanDevice.hpp b/base/VulkanDevice.hpp index 3d9736f..2411a0f 100644 --- a/base/VulkanDevice.hpp +++ b/base/VulkanDevice.hpp @@ -80,7 +80,7 @@ namespace vks ~VulkanDevice() { if (commandPool) { - vkDestroyCommandPool(logicalDevice, commandPool, nullptr); + //vkDestroyCommandPool(logicalDevice, commandPool, nullptr); } if (logicalDevice) { vkDestroyDevice(logicalDevice, nullptr); diff --git a/base/vulkanexamplebase.h b/base/vulkanexamplebase.h index 7d331fd..3658377 100644 --- a/base/vulkanexamplebase.h +++ b/base/vulkanexamplebase.h @@ -111,7 +111,7 @@ public: bool headless = false; // 无头开关 bool outputPNGimage = false; bool enableSaveToImageSequeue = true; // 图片序列开关(暂时弃用) - uint32_t outputFrameCount = 480; // 图片序列结束帧 + uint32_t outputFrameCount = 10; // 图片序列结束帧 bool takeScreenShot = false; // 截屏(暂时弃用) uint32_t startFrameCount = 1; // 图片序列开始帧