Skip to content

Commit 8369fb7

Browse files
authored
Update 28_model_loading.cpp
1 parent b6c36e5 commit 8369fb7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attachments/28_model_loading.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ class HelloTriangleApplication {
211211

212212
void cleanupSwapChain() {
213213
swapChainImageViews.clear();
214+
swapChain = nullptr;
214215
}
215216

216217
void cleanup() const {

0 commit comments

Comments
 (0)