Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8e79b2

Browse files
authored
Merge pull request #67 from iaz3/patch-3
Depth buffering recreateSwapChain example missing call to cleanupSwapChain
2 parents e962d1a + e1a1223 commit a8e79b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

07_Depth_buffering.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,8 @@ function to recreate the depth resources in that case:
548548
```c++
549549
void recreateSwapChain() {
550550
vkDeviceWaitIdle(device);
551+
552+
cleanupSwapChain();
551553

552554
createSwapChain();
553555
createImageViews();

0 commit comments

Comments
 (0)