dinput: Stop calling SendForceFeedbackCommand on device destroy.
It is only relevant for FFB devices, and is already being called by hid_joystick_unacquire(). Signed-off-by: Ivo Ivanov <logos128@gmail.com> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
028837158a
commit
dbb735efd1
|
@ -741,8 +741,6 @@ void dinput_device_destroy( IDirectInputDevice8W *iface )
|
|||
TRACE( "iface %p.\n", iface );
|
||||
|
||||
IDirectInputDevice_Unacquire(iface);
|
||||
/* Reset the FF state, free all effects, etc */
|
||||
IDirectInputDevice8_SendForceFeedbackCommand(iface, DISFFC_RESET);
|
||||
|
||||
free( This->data_queue );
|
||||
|
||||
|
|
Loading…
Reference in New Issue