|
|
Line 1: |
Line 1: |
− | {{newin|[[0.9.0]]|090|type=function|text=Moved from [[love.graphics.checkMode]]}}
| |
| | | |
− | Checks if a display mode is supported.
| |
− | == Function ==
| |
− | === Synopsis ===
| |
− | <source lang="lua">
| |
− | supported = love.window.checkMode( width, height, fullscreen, display )
| |
− | </source>
| |
− | === Arguments ===
| |
− | {{param|number|width|The display width.}}
| |
− | {{param|number|height|The display height.}}
| |
− | {{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}}
| |
− | {{param|number|display (1)|The index of the display to check.}}
| |
− | === Returns ===
| |
− | {{param|boolean|supported|True if supported, false if not.}}
| |
− | == See Also ==
| |
− | * [[parent::love.window]]
| |
− | [[Category:Functions]]
| |
− | {{#set:Description=Checks if a display mode is supported.}}
| |
− | {{#set:Since=090}}
| |
− | == Other Languages ==
| |
− | {{i18n|love.window.checkMode}}
| |