Skip to content

Commit 3429109

Browse files
authored
Update 30_multisampling.cpp
1 parent c061496 commit 3429109

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

attachments/30_multisampling.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ class HelloTriangleApplication {
219219

220220
void cleanupSwapChain() {
221221
swapChainImageViews.clear();
222-
}
222+
swapChain = nullptr;
223+
}
223224

224225
void cleanup() const {
225226
glfwDestroyWindow(window);

0 commit comments

Comments
 (0)