Skip to content
Snippets Groups Projects
Commit dbb735ef authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard
Browse files

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: default avatarIvo Ivanov <logos128@gmail.com>
Signed-off-by: default avatarRémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 02883715
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment