aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7e220205..8c855157 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2377,10 +2377,10 @@ static void FreeContext(ALCcontext *context)
al_free(lprops);
}
count = 0;
- lprops = ATOMIC_LOAD(&listener->FreeList, almemory_order_consume);
+ lprops = ATOMIC_LOAD(&listener->FreeList, almemory_order_acquire);
while(lprops)
{
- struct ALlistenerProps *next = ATOMIC_LOAD(&lprops->next, almemory_order_consume);
+ struct ALlistenerProps *next = ATOMIC_LOAD(&lprops->next, almemory_order_acquire);
al_free(lprops);
lprops = next;
++count;