Removed in LÖVE 0.9.0
Moved to the love.window module as love.window.setMode.
Changes the window size, or the display mode if fullscreen.
If width or height is 0, setMode will use the width or height of the desktop.
Changing the display mode may have side effects: for example, Canvases will be cleared; make sure to save their contents beforehand.
success = love.graphics.setMode( width, height, fullscreen, vsync, fsaa )
number width
number height
boolean fullscreen (false)
boolean vsync (true)
number fsaa (0)
boolean success
If you have disabled the screen in conf.lua and use this function to manually create the window, then you must not call any other love.graphics.* function before this one. Doing so will result in undefined behavior and/or crashes.
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setMode