// GetNumVideoDrivers (https://wiki.libsdl.org/SDL_GetNumVideoDrivers) func GetNumVideoDrivers() (int, error) { n := int(C.SDL_GetNumVideoDrivers()) if n < 0 { return n, GetError() } return n, nil }
// VideoDriverCount returns the number of video drivers compiled into SDL. func VideoDriverCount() (n int, err error) { n = int(C.SDL_GetNumVideoDrivers()) if n < 0 { return 0, getError() } return n, nil }
func GetNumVideoDrivers() int { return (int)(C.SDL_GetNumVideoDrivers()) }