love.window.setFullscreen

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Enters or exits fullscreen.

Function

Synopsis

success = love.window.setFullscreen( fullscreen )

Arguments

boolean fullscreen
Whether to enter or exit fullscreen mode.

Returns

boolean success
True if successful, false otherwise.

Function

Synopsis

success = love.window.setFullscreen( fullscreen, fstype )

Arguments

boolean fullscreen
Whether to enter or exit fullscreen mode.
FullscreenType fstype
The type of fullscreen mode to use.

Returns

boolean success
True if successful, false otherwise.

See Also

Other Languages