Function sdl2_sys::SDL_GetDisplayMode
source ยท pub unsafe extern "C" fn SDL_GetDisplayMode(
displayIndex: c_int,
modeIndex: c_int,
mode: *mut SDL_DisplayMode,
) -> c_int
Expand description
\brief Fill in information about a specific display mode.
\note The display modes are sorted in this priority: \li bits per pixel -> more colors to fewer colors \li width -> largest to smallest \li height -> largest to smallest \li refresh rate -> highest to lowest
\sa SDL_GetNumDisplayModes()