[−][src]Function tetra::window::set_size
pub fn set_size(ctx: &mut Context, width: i32, height: i32) -> Result
Sets the size of the window.
Errors
TetraError::FailedToChangeDisplayMode
will be returned if the game was unable to change the window size.