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, display )

Arguments

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

Returns

boolean supported
True if supported, false if not.

See Also


Other Languages