love.graphics.getModes( )
Gets a list of supported fullscreen modes.
Synopsis
modes = love.graphics.getModes( )
Returns
modes |
table |
A table of width/height pairs. |
Examples
Format of the returned table
modes = love.graphics.getModes()
-- modes = {
-- { width = 800, height = 800 },
-- { width = 1024, height = 767 },
-- ...
-- }