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
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ void recreateSwapChain() {
49
49
}
50
50
```
51
51
52
-
Note that we don't recreate the renderpass here for simplicity. In theory it can be possible for the swap chain image format to change during an applications' lifetime, e.g. when moving a window from an standard range to an high dynamic range monitor. This may require the application to recreate the renderpass to make sure the change between dynamic ranges is properly reflected.
52
+
Note that we don't recreate the renderpass here for simplicity. In theory it can be possible for the swap chain image format to change during an applications' lifetime, e.g. when moving a window from a standard range to a high dynamic range monitor. This may require the application to recreate the renderpass to make sure the change between dynamic ranges is properly reflected.
53
53
54
54
We'll move the cleanup code of all objects that are recreated as part of a swap
55
55
chain refresh from `cleanup` to `cleanupSwapChain`:
0 commit comments