aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-17 00:46:46 -0800
committerChris Robinson <[email protected]>2016-11-17 00:46:46 -0800
commita502a41be340826585f9c91b3a8d9a52b5601b54 (patch)
tree6824358e6de3b8215a89bfaf64cfbbb3d4323f8b /Alc/ALc.c
parentcaead294f292cb6a8d75eaa4eeb26829a06f569c (diff)
Stop using almemory_order_consume
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;