aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-08-03 00:26:21 -0700
committerChris Robinson <[email protected]>2014-08-03 00:26:21 -0700
commitf5194a9d8e9ce58b0c1a082686ccf180ea66f8ad (patch)
tree4af7b454465d607a9465e849b6b75e02e84aef0e /OpenAL32/alAuxEffectSlot.c
parent659b3407162e2354c89ebdc9858c9a9fb39ad3d3 (diff)
Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index 96056651..ec8890b6 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -522,7 +522,7 @@ ALenum InitEffectSlot(ALeffectslot *slot)
slot->Gain = 1.0;
slot->AuxSendAuto = AL_TRUE;
- ATOMIC_STORE_UNSAFE(&slot->NeedsUpdate, AL_FALSE);
+ ATOMIC_INIT(&slot->NeedsUpdate, AL_FALSE);
for(c = 0;c < 1;c++)
{
for(i = 0;i < BUFFERSIZE;i++)