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

Gets the number of available display modes.

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