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