diff options
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alListener.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 61865397..de9e14a4 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -113,7 +113,7 @@ struct ALeffectslot { */ alignas(16) ALfloat WetBuffer[MAX_EFFECT_CHANNELS][BUFFERSIZE]; - ALeffectslot() { PropsClean.test_and_set(); } + ALeffectslot() { PropsClean.test_and_set(std::memory_order_relaxed); } ALeffectslot(const ALeffectslot&) = delete; ALeffectslot& operator=(const ALeffectslot&) = delete; ~ALeffectslot(); diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h index 7b5b8b20..4d59dbf9 100644 --- a/OpenAL32/Include/alListener.h +++ b/OpenAL32/Include/alListener.h @@ -51,7 +51,7 @@ struct ALlistener { DistanceModel mDistanceModel; } Params; - ALlistener() { PropsClean.test_and_set(); } + ALlistener() { PropsClean.test_and_set(std::memory_order_relaxed); } }; void UpdateListenerProps(ALCcontext *context); |