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

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

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