Difference between revisions of "love.graphics.checkMode"

m (1 revision: Importing from potato (again).)
m (Updated oldin)
 
(5 intermediate revisions by 4 users 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.
Line 9: Line 10:
 
{{param|number|width|The display width.}}
 
{{param|number|width|The display width.}}
 
{{param|number|height|The display height.}}
 
{{param|number|height|The display height.}}
{{param|boolean|fullscreen|True to check for fullscreen, false for windowed.}}
+
{{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}}
 
=== Returns ===
 
=== Returns ===
 
{{param|boolean|supported|True if supported, false if not.}}
 
{{param|boolean|supported|True if supported, false if not.}}
Line 16: Line 17:
 
[[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}}
 +
{{#set:Sub-Category=Window}}
 +
== Other Languages ==
 +
{{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