Window size isn't correct until second frame when scale factor is overridden #17188
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
main
Relevant system information
SystemInfo { os: "macOS 14.5 Sonoma", kernel: "23.5.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
High DPI display (scale factor 2)
What you did
What went wrong
The
WindowResolution
is incorrect duringStartup
and for one run of theUpdate
schedule, and then becomes correct on the next frame.Additional information
Related to #17183
The text was updated successfully, but these errors were encountered: