Difference between revisions of "love.graphics.checkMode"

Line 15: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Checks if a display mode is supported.}}
 
{{#set:Description=Checks if a display mode is supported.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.checkMode}}
 
{{i18n|love.graphics.checkMode}}

Revision as of 10:14, 25 March 2011

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


Other Languages