[][src]Function fermium::video::SDL_SetWindowDisplayMode

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

Sets the display mode to use when the given window is visible and fullscreen.

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