love.graphics.checkMode

Checks if a display mode is supported.

Function

Synopsis

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

Arguments

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

Returns

boolean supported
True if supported, false if not.

See Also