From ea7c6f3e4e47500e33de4f76cc12bd0be5081351 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 13 Feb 2022 19:37:45 -0800 Subject: Don't make mPropsDirty atomic It's only ever used under the ALCcontext::mPropLock mutex. --- alc/alc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/alc.cpp') diff --git a/alc/alc.cpp b/alc/alc.cpp index 6358ad8b..23bbb554 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2120,7 +2120,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) auto send_begin = source->Send.begin() + static_cast(num_sends); std::for_each(send_begin, source->Send.end(), clear_send); - source->mPropsDirty.set(std::memory_order_release); + source->mPropsDirty = true; } } -- cgit v1.2.3