Difference between revisions of "love.graphics.setMode"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Changes the display mode. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 17: | Line 17: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Changes the display mode.}} |
Revision as of 16:17, 14 February 2010
Changes the display mode.
Function
Synopsis
True = love.graphics.setMode( width, height, fullscreen, vsync, fsaa )
Arguments
number width
- Display width.
number height
- Display height.
number fullscreen (false)
- Fullscreen (true), or windowed (false).
number vsync (true)
- True if LOVE should wait for vsync, false otherwise.
number fsaa (0)
- The number of FSAA-buffers.
Returns
boolean True
- if successful, false otherwise.