[][src]Function fermium::video::SDL_GetNumDisplayModes

pub unsafe extern "C" fn SDL_GetNumDisplayModes(displayIndex: c_int) -> c_int

Gets the number of available display modes.

Returns: >=1 on success, or negative on error (call SDL_GetError)