You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/03_Drawing_a_triangle/04_Swap_chain_recreation.md
+5-19Lines changed: 5 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,25 +114,11 @@ Instead I've opted to clean up the existing command buffers with the
114
114
`vkFreeCommandBuffers` function. This way we can reuse the existing pool to
115
115
allocate the new command buffers.
116
116
117
-
To handle window resizes properly, we also need to query the current size of the framebuffer to make sure that the swap chain images have the (new) right size. To do that change the `chooseSwapExtent` function to take the actual size into account:
0 commit comments