diff --git a/example/Vulkan/RenderSurfaceAttribute.cpp b/example/Vulkan/RenderSurfaceAttribute.cpp index 12367027..320059eb 100644 --- a/example/Vulkan/RenderSurfaceAttribute.cpp +++ b/example/Vulkan/RenderSurfaceAttribute.cpp @@ -130,6 +130,19 @@ RenderSurfaceAttribute::RenderSurfaceAttribute(VkInstance inst,VkPhysicalDevice RenderSurfaceAttribute::~RenderSurfaceAttribute() { + const uint32_t iv_count=sc_image_views.GetCount(); + + if(iv_count>0) + { + VkImageView *iv=sc_image_views.GetData(); + + for(uint32_t i=0;i