// GetNumVideoDisplays (https://wiki.libsdl.org/SDL_GetNumVideoDisplays) func GetNumVideoDisplays() (int, error) { n := int(C.SDL_GetNumVideoDisplays()) if n < 0 { return n, GetError() } return n, nil }
// DisplayCount returns the number of available video displays. func DisplayCount() (n int, err error) { n = int(C.SDL_GetNumVideoDisplays()) if n < 0 { return 0, getError() } return n, nil }
func GetNumVideoDisplays() int { return int(C.SDL_GetNumVideoDisplays()) }