Fixed typo
This commit is contained in:
parent
1de1b9e568
commit
d29196810f
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ public:
|
||||||
// Clean up used Vulkan resources
|
// Clean up used Vulkan resources
|
||||||
// Note : Inherited destructor cleans up resources stored in base class
|
// 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);
|
vkDestroyImageView(device, attachments[i].color.view, nullptr);
|
||||||
vkDestroyImage(device, attachments[i].color.image, nullptr);
|
vkDestroyImage(device, attachments[i].color.image, nullptr);
|
||||||
vkFreeMemory(device, attachments[i].color.memory, nullptr);
|
vkFreeMemory(device, attachments[i].color.memory, nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue