Get the orientation of a display when it is unrotated.
Defined in <SDL3/SDL_video.h>
SDL_DisplayOrientation SDL_GetNaturalDisplayOrientation(SDL_DisplayID displayID);
SDL_DisplayID | displayID | the instance ID of the display to query. |
(SDL_DisplayOrientation) Returns the SDL_DisplayOrientation enum value of the display, or SDL_ORIENTATION_UNKNOWN
if it isn't available.
This function is available since SDL 3.1.3.