Function fermium::video::SDL_GetClosestDisplayMode
source · pub unsafe extern "C" fn SDL_GetClosestDisplayMode(
displayIndex: c_int,
mode: *const SDL_DisplayMode,
closest: *mut SDL_DisplayMode
) -> *mut SDL_DisplayMode
Expand description
Gets the closest display mode to the mode
requested.
Returns: Either the closest
pointer, or null on failure. Call
SDL_GetErrorMsg
for more.