Version 0.3.0
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics.setMode( width, height, fullscreen, vsync, fsaa )
Do not change the display mode unless you know that that mode is supported. Use checkMode() to check whether a mode is supported or not.

Also note that calling this function will cause the entire display context to reload. This means that all Images, Fonts and other graphical objects will have to be reloaded. It is therefore advisable to call this function when as few objects as possible has been loaded.
Usage
love.graphics.setMode( width, height, fullscreen, vsync, fsaa )
Arguments
widthDisplay width.
heightDisplay height.
fullscreenFullscreen (true), or windowed (false).
vsyncTrue if LOVE should wait for vsync, false otherwise.
fsaaThe number of FSAA-buffers.
Returns
booleanTrue if successful, false otherwise