[][src]Function tetra::window::enable_fullscreen

pub fn enable_fullscreen(ctx: &mut Context) -> Result

Enables fullscreen.

Errors

If the application's fullscreen state could not be changed, this function will return a TetraError::Sdl.