love.window.getDesktopDimensions

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the width and height of the desktop.

Function

Synopsis

width, height = love.window.getDesktopDimensions( display )

Arguments

number display (1)
The index of the display.

Returns

number width
The width of the desktop.
number height
The height of the desktop.

See Also

Other Languages