Skip to content

Commit 26084b3

Browse files
authored
Update 31_compute_shader.cpp
1 parent 3429109 commit 26084b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

attachments/31_compute_shader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ class ComputeShaderApplication {
191191

192192
void cleanupSwapChain() {
193193
swapChainImageViews.clear();
194+
swapChain = nullptr;
194195
}
195196

196197
void cleanup() const {

0 commit comments

Comments
 (0)