From d29196810f22d24849ef8828dcd04417ea29f1c3 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Thu, 19 Jul 2018 15:28:03 +0200 Subject: [PATCH] Fixed typo --- examples/inputattachments/inputattachments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/inputattachments/inputattachments.cpp b/examples/inputattachments/inputattachments.cpp index 64bc6f15..d4fcf7f4 100644 --- a/examples/inputattachments/inputattachments.cpp +++ b/examples/inputattachments/inputattachments.cpp @@ -106,7 +106,7 @@ public: // Clean up used Vulkan resources // Note : Inherited destructor cleans up resources stored in base class - for (uint32_t i = 0; i < attachments.size; i++) { + for (uint32_t i = 0; i < attachments.size(); i++) { vkDestroyImageView(device, attachments[i].color.view, nullptr); vkDestroyImage(device, attachments[i].color.image, nullptr); vkFreeMemory(device, attachments[i].color.memory, nullptr);