Function sdl2_sys::SDL_SetWindowFullscreen
source · pub unsafe extern "C" fn SDL_SetWindowFullscreen(
window: *mut SDL_Window,
flags: Uint32,
) -> c_int
Expand description
\brief Set a window’s fullscreen state.
\return 0 on success, or -1 if setting the display mode failed.
\sa SDL_SetWindowDisplayMode() \sa SDL_GetWindowDisplayMode()