diff options
author | Chris Robinson <[email protected]> | 2022-02-13 19:37:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-13 19:37:45 -0800 |
commit | ea7c6f3e4e47500e33de4f76cc12bd0be5081351 (patch) | |
tree | 12261c20b21fa3855ac7992778e73e3aea1d5489 /alc/alc.cpp | |
parent | 66f6cf121e5a65f5ec0c93872b60e123fa2ad0f3 (diff) |
Don't make mPropsDirty atomic
It's only ever used under the ALCcontext::mPropLock mutex.
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 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<ptrdiff_t>(num_sends); std::for_each(send_begin, source->Send.end(), clear_send); - source->mPropsDirty.set(std::memory_order_release); + source->mPropsDirty = true; } } |