diff options
author | Chris Robinson <[email protected]> | 2017-03-20 21:25:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-20 21:25:39 -0700 |
commit | cdfe0d8f5af871258f1f58493e9659148659cacb (patch) | |
tree | 61412add20d91a243c18d3c8e18213adfe18806e /Alc/ALc.c | |
parent | 42bcf0870d7f7358b4e1775d37e20e3b9162d249 (diff) |
Use an atomic flag to test if a source needs to update
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2254,7 +2254,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) } } - source->NeedsUpdate = AL_TRUE; + ATOMIC_FLAG_CLEAR(&source->PropsClean, almemory_order_release); /* Clear any pre-existing source property structs, in case the * number of auxiliary sends changed. Playing (or paused) sources |