* fix triangle-util and viewport extent docs

* fmt

* Revert "fmt"

This reverts commit 516b11b3ee.

* Revert "fix triangle-util and viewport extent docs"

This reverts commit b70ebad5ba.

* Marc's better way.
This commit is contained in:
Katt 2024-10-20 13:04:12 +08:00 committed by GitHub
parent f73e46fc34
commit 0815e76659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,6 +369,7 @@ impl ApplicationHandler for App {
// and the dynamic state viewport.
rcx.framebuffers =
window_size_dependent_setup(swapchain_images, &rcx.render_pass);
rcx.viewport.extent = window_size.into();
})
.unwrap();