From a502a41be340826585f9c91b3a8d9a52b5601b54 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 17 Nov 2016 00:46:46 -0800 Subject: Stop using almemory_order_consume --- Alc/ALc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc') 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; -- cgit v1.2.3