Get the orientation of a display.
Defined in SDL_video.h
int displayIndex); SDL_DisplayOrientation SDL_GetDisplayOrientation(
int | displayIndex | the index 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 2.0.9.