aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-13 21:00:28 -0800
committerChris Robinson <[email protected]>2022-02-13 21:00:57 -0800
commit3e6d210767e432c780f892b2365f3644456b61b3 (patch)
tree2f914604efa03749d87d42a8257864bf42ad21ba /alc/alc.cpp
parentcdae6de6891f783fc5089ff82b9284f4a2c71e5b (diff)
Avoid more unnecessary atomics
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp2
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);
}