Difference between revisions of "love.graphics.checkMode"

m
m (Updated oldin)
 
(One intermediate revision 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 ==

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