Function Display.displayModes
Wraps SDL_GetNumDisplayModes
and SDL_GetDisplayMode
which get return a list of the available
display modes of the display
Returns
array of the dsdl2
s
Throws
dsdl2
if failed to get the display modes