Skip to content

Commit c912bec

Browse files
authored
Update 24_texture_image.cpp
1 parent f98feec commit c912bec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

attachments/24_texture_image.cpp

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

190190
void cleanupSwapChain() {
191191
swapChainImageViews.clear();
192+
swapChain = nullptr;
192193
}
193194

194195
void cleanup() {

0 commit comments

Comments
 (0)