Skip to content

Commit b6c36e5

Browse files
authored
Update 27_depth_buffering.cpp
1 parent 06dc417 commit b6c36e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attachments/27_depth_buffering.cpp

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

208208
void cleanupSwapChain() {
209209
swapChainImageViews.clear();
210+
swapChain = nullptr;
210211
}
211212

212213
void cleanup() const {

0 commit comments

Comments
 (0)