Function Display.getClosestDisplayMode
Wraps SDL_GetClosestDisplayMode
which gets the closest display mode of the display to the desired mode
Parameters
Name | Description |
---|---|
desiredMode | the desired dsdl |
Returns
the closest available dsdl
of the display
Throws
dsdl
if failed to get the closest display mode