Get a list of fullscreen display modes available on a display.
displayID | the instance ID of the display to query |
count | a pointer filled in with the number of displays returned |
Returns a NULL terminated array of display mode pointers which should be freed with SDL_free(), or NULL on error; call SDL_GetError() for more details.
The display modes are sorted in this priority:
This function is available since SDL 3.0.0.