Function fermium::video::SDL_GetWindowDisplayMode[][src]

pub unsafe extern "C" fn SDL_GetWindowDisplayMode(
    window: *mut SDL_Window,
    mode: *mut SDL_DisplayMode
) -> c_int

Gets the display mode used when the given window is visible and fullscreen.

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