Skip to content

Commit 686340b

Browse files
authored
Update 22_descriptor_layout.cpp
1 parent 9c828c4 commit 686340b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attachments/22_descriptor_layout.cpp

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

178178
void cleanupSwapChain() {
179179
swapChainImageViews.clear();
180+
swapChain = nullptr;
180181
}
181182

182183
void cleanup() {

0 commit comments

Comments
 (0)