Difference between revisions of "love.graphics.checkMode"

m
Line 16: Line 16:
 
{{#set:Description=Checks if a display mode is supported.}}
 
{{#set:Description=Checks if a display mode is supported.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
{{#set:Sub-Category=Window}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.checkMode}}
 
{{i18n|love.graphics.checkMode}}

Revision as of 00:44, 29 March 2013

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