Function fermium::video::SDL_GetWindowDisplayMode
source · pub unsafe extern "C" fn SDL_GetWindowDisplayMode(
window: *mut SDL_Window,
mode: *mut SDL_DisplayMode
) -> c_int
Expand description
Gets the display mode used when the given window is visible and fullscreen.
Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg
for more.