Get the orientation of a display.
SDL_DisplayOrientation SDL_GetDisplayOrientation(SDL_DisplayID displayID);
Returns The SDL_DisplayOrientation enum value of the display, or SDL_ORIENTATION_UNKNOWN if it isn't available.
SDL_ORIENTATION_UNKNOWN
This function is available since SDL 3.0.0.
CategoryAPI