-
Hey! What is the preferred method to achieve this? Can you point me to an example program that does it the right way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved, but for reference, if someone else is looking for a solution:
|
Beta Was this translation helpful? Give feedback.
Solved, but for reference, if someone else is looking for a solution:
The example: https://github.com/bevyengine/bevy/blob/main/examples/window/scale_factor_override.rs
Documentation: https://docs.rs/bevy/latest/bevy/window/struct.WindowResolution.html
use bevy::window::WindowResolution;
instead of:
.add_plugins(DefaultPlugins)
use: