[−][src]Function fermium::video::SDL_SetWindowFullscreen
pub unsafe extern "C" fn SDL_SetWindowFullscreen(
window: *mut SDL_Window,
flags: u32
) -> c_int
Sets the window's desired fullscreen state.
SDL_WINDOW_FULLSCREEN
SDL_WINDOW_FULLSCREEN_DESKTOP
- 0 for a "windowed" window.
Returns: 0 on success, negative on failure. Call [SDL_GetError
] for
more.