Esempio n. 1
0
func (h *Haptic) DestroyEffect(effect int) {
	C.SDL_HapticDestroyEffect(h.cptr(), C.int(effect))
}
Esempio n. 2
0
func (haptic *Haptic) DestroyEffect(effect int) {
	_haptic := (*C.SDL_Haptic)(unsafe.Pointer(haptic))
	_effect := (C.int)(effect)
	C.SDL_HapticDestroyEffect(_haptic, _effect)
}