// CurrentVideoDriver returns the name of the currently initialized video // driver. func CurrentVideoDriver() (driver string) { cDriver := C.SDL_GetCurrentVideoDriver() if cDriver == nil { return "" } return C.GoString(cDriver) }
func GetCurrentVideoDriver() string { return C.GoString(C.SDL_GetCurrentVideoDriver()) }