[−][src]Function tetra::window::set_fullscreen
pub fn set_fullscreen(ctx: &mut Context, fullscreen: bool) -> Result
Sets whether the window should be in fullscreen mode.
Errors
TetraError::FailedToChangeDisplayMode
will be returned if the game was unable to enter or exit fullscreen.