Skip to content

Commit 62beaa3

Browse files
committed
Add missing swapChainImageViews.clear(); for chapters 33 and 34.
1 parent 97a58c4 commit 62beaa3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

attachments/33_vulkan_profiles.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class HelloTriangleApplication {
237237
imageView = nullptr;
238238
}
239239

240+
swapChainImageViews.clear();
240241
swapChain = nullptr;
241242
}
242243

attachments/34_android.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,7 @@ class HelloTriangleApplication {
12031203
imageView = nullptr;
12041204
}
12051205

1206+
swapChainImageViews.clear();
12061207
swapChain = nullptr;
12071208
}
12081209

0 commit comments

Comments
 (0)