bevy/examples/window
Okko Hakola 69d08c5ef4 Reconfigure surface on present mode change (#6049)
# Objective

- Reconfigure surface after present mode changes. It seems that this is not done currently at runtime. It's pretty common for games to change such graphical settings at runtime.
- Fixes present mode issue in #5111 

## Solution

- Exactly like resolution change gets tracked when extracting window, do the same for present mode.

Additionally, I added present mode (vsync) toggling to window settings example.
2022-09-21 22:35:15 +00:00
..
clear_color.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
low_power.rs Miscellaneous code-quality improvements. (#5860) 2022-09-05 00:30:21 +00:00
multiple_windows.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
scale_factor_override.rs Improve ergonomics and reduce boilerplate around creating text elements. (#5343) 2022-07-20 14:14:29 +00:00
transparent_window.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
window_resizing.rs Add window resizing example (#5813) 2022-08-29 23:56:43 +00:00
window_settings.rs Reconfigure surface on present mode change (#6049) 2022-09-21 22:35:15 +00:00