Difference between revisions of "love.graphics.setMode"

m (1 revision: Importing from potato (again).)
(No difference)

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.

See Also