Skip to content

Commit 06dc417

Browse files
authored
Update 26_texture_mapping.cpp
1 parent 7fe9b1f commit 06dc417

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attachments/26_texture_mapping.cpp

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

196196
void cleanupSwapChain() {
197197
swapChainImageViews.clear();
198+
swapChain = nullptr;
198199
}
199200

200201
void cleanup() {

0 commit comments

Comments
 (0)