Function macroquad::window::request_new_screen_size
source · [−]Expand description
Request the window size to be the given value. This takes DPI into account.
Note that the OS might decide to give a different size. Additionally, the size in macroquad won’t be updated until the next next_frame().await
.