I want to be able to change to fullscreen mode while not defaulting to some random resolution.
More specificly, I don't want the screen to change resolution when I switch to fullscreen.
So if I'm using this,
Is there a way to get the current monitor resolution without visibly changing the window size? (For example, if my game window is 320x200 and I want to get the monitor resolution, the code above will visibly change the window size.)
In 0.9.0 you can use [wiki]love.window.getDesktopDimensions[/wiki].
The current resolution will also often be the largest width and height in the table returned by [wiki]love.graphics.getModes[/wiki] ([wiki]love.window.getFullscreenModes[/wiki] in 0.9.0), although it likely will not be the case if the user is in OS X with a retina display.