We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3561 - Re-acquire device before playing effects if needed.
Summary: Re-acquire device before playing effects if needed.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: haptic (show other bugs)
Version: 2.0.5
Hardware: x86_64 Windows (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 09:35 UTC by Mathieu Laurendeau
Modified: 2017-01-18 19:58 UTC (History)
0 users

See Also:


Attachments
Re-acquire device before playing effects if needed. (1.13 KB, patch)
2017-01-18 09:35 UTC, Mathieu Laurendeau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Laurendeau 2017-01-18 09:35:00 UTC
Created attachment 2681 [details]
Re-acquire device before playing effects if needed.

Check the result of IDirectInputEffect_SetParameters and re-acquire the device to solve concurrency issues.
Comment 1 Sam Lantinga 2017-01-18 19:58:36 UTC
Got it, thanks!
https://hg.libsdl.org/SDL/rev/bab110e44dcb