Difference between revisions of "love.graphics.checkMode"

m
m
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.checkMode]]}}
 +
 
Checks if a display mode is supported.
 
Checks if a display mode is supported.
 
== Function ==
 
== Function ==

Revision as of 00:37, 25 May 2013

Removed in LÖVE 0.9.0
Moved to the love.window module as love.window.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 (false)
True to check for fullscreen, false for windowed.

Returns

boolean supported
True if supported, false if not.

See Also


Other Languages