Difference between revisions of "love.graphics.checkMode"

m (Updated oldin)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function}}
 +
 
Checks if a display mode is supported.
 
Checks if a display mode is supported.
 
== Function ==
 
== Function ==
Line 16: Line 18:
 
{{#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}}

Latest revision as of 21:43, 19 September 2013

Removed in LÖVE 0.9.0
This function is not supported in that and later versions.


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