love.graphics.setMode

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).
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