[][src]Function fermium::SDL_GetDisplayMode

pub unsafe extern "C" fn SDL_GetDisplayMode(
    displayIndex: c_int,
    modeIndex: c_int,
    mode: *mut SDL_DisplayMode
) -> c_int

\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()