Function fermium::video::SDL_GetCurrentDisplayMode
source · pub unsafe extern "C" fn SDL_GetCurrentDisplayMode(
displayIndex: c_int,
mode: *mut SDL_DisplayMode
) -> c_int
Expand description
Gets info about the current display mode.
Returns: 0 on success, negative on failure. Call SDL_GetErrorMsg
for more.