Function sdl2_sys::SDL_GetDisplayOrientation
source · pub unsafe extern "C" fn SDL_GetDisplayOrientation(
displayIndex: c_int,
) -> SDL_DisplayOrientation
Expand description
Get the orientation of a display.
\param displayIndex the index of the display to query
\returns The SDL_DisplayOrientation enum value of the display, or
SDL_ORIENTATION_UNKNOWN
if it isn’t available.
\since This function is available since SDL 2.0.9.
\sa SDL_GetNumVideoDisplays