Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/03_Drawing_a_triangle/04_Swap_chain_recreation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void recreateSwapChain() {

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.
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.

We'll move the cleanup code of all objects that are recreated as part of a swap chain refresh from `cleanup` to `cleanupSwapChain`:
Expand Down