Difference between revisions of "love.graphics.checkMode"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Checks if a display mode is supported.
 
Checks if a display mode is supported.
 
== Function ==
 
== Function ==
Line 16: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Checks if a display mode is supported.}}
 
{{#set:Description=Checks if a display mode is supported.}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.checkMode}}

Revision as of 20:11, 18 November 2010

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