[][src]Function fermium::video::SDL_GetCurrentDisplayMode

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

Gets info about the current display mode.

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