pub fn request_new_screen_size(width: f32, height: f32)
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.