Skip to content

Commit fd707cc

Browse files
authored
Update 32_ecosystem_utilities.cpp
1 parent 26084b3 commit fd707cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

attachments/32_ecosystem_utilities.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class HelloTriangleApplication {
237237
void cleanupSwapChain() {
238238
swapChainFramebuffers.clear();
239239
swapChainImageViews.clear();
240+
swapChain = nullptr;
240241
}
241242

242243
void cleanup() const {

0 commit comments

Comments
 (0)