Skip to content

Commit 8763f10

Browse files
authored
Update 07_Depth_buffering.md (#297)
Fix the recreateSwapChain() function to match the code, which may cause the "Validation Error" if you resize and close window.
1 parent 99659db commit 8763f10

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

en/07_Depth_buffering.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,8 +573,6 @@ void recreateSwapChain() {
573573

574574
createSwapChain();
575575
createImageViews();
576-
createRenderPass();
577-
createGraphicsPipeline();
578576
createDepthResources();
579577
createFramebuffers();
580578
}

0 commit comments

Comments
 (0)