Difference between revisions of "love.graphics.setMode"
m |
m |
||
Line 9: | Line 9: | ||
{{param|number|height|Display height.}} | {{param|number|height|Display height.}} | ||
{{param|boolean|fullscreen (false)|Fullscreen (true), or windowed (false).}} | {{param|boolean|fullscreen (false)|Fullscreen (true), or windowed (false).}} | ||
− | {{param| | + | {{param|boolean|vsync (true)|True if LOVE should wait for vsync, false otherwise.}} |
{{param|number|fsaa (0)|The number of FSAA-buffers.}} | {{param|number|fsaa (0)|The number of FSAA-buffers.}} | ||
=== Returns === | === Returns === |
Revision as of 12:56, 28 March 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.
boolean fullscreen (false)
- Fullscreen (true), or windowed (false).
boolean 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.