Function sdl2_sys::SDL_GetWindowDisplayMode
source ยท pub unsafe extern "C" fn SDL_GetWindowDisplayMode(
window: *mut SDL_Window,
mode: *mut SDL_DisplayMode,
) -> c_int
Expand description
Query the display mode to use when a window is visible at fullscreen.
\param window the window to query \param mode an SDL_DisplayMode structure filled in with the fullscreen display mode \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_SetWindowDisplayMode \sa SDL_SetWindowFullscreen