love.window.checkMode

Available since LÖVE 0.9.0
Moved from love.graphics.checkMode.


Checks if a display mode is supported.

Function

Synopsis

supported = love.window.checkMode( width, height, fullscreen )

Arguments

number width
The display width.
number height
The display height.
boolean fullscreen (false)
True to check for fullscreen, false for windowed.

Returns

boolean supported
True if supported, false if not.

See Also


Other Languages