pub unsafe extern "C" fn SDL_GetDesktopDisplayMode(
    displayIndex: c_int,
    mode: *mut SDL_DisplayMode
) -> c_int
Expand description

Gets info about the desktop’s display mode.

Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg for more.