[][src]Function fermium::video::SDL_GetDesktopDisplayMode

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

Gets info about the desktop's display mode.

Returns: 0 on success, negative on failure. Call [SDL_GetError] for more.