diff options
author | Chris Robinson <[email protected]> | 2022-02-13 21:00:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-13 21:00:57 -0800 |
commit | 3e6d210767e432c780f892b2365f3644456b61b3 (patch) | |
tree | 2f914604efa03749d87d42a8257864bf42ad21ba /alc/alc.cpp | |
parent | cdae6de6891f783fc5089ff82b9284f4a2c71e5b (diff) |
Avoid more unnecessary atomics
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 23bbb554..4c8d0a6c 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2155,7 +2155,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) context->mFreeVoiceProps.store(nullptr, std::memory_order_relaxed); srclock.unlock(); - context->mPropsDirty.test_and_clear(std::memory_order_release); + context->mPropsDirty = false; UpdateContextProps(context); UpdateAllSourceProps(context); } |