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 --- OpenAL32/alSource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index f20498f4..7f187dfe 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2829,7 +2829,7 @@ static void UpdateSourceProps(ALsource *source, ALuint num_sends) next = ATOMIC_LOAD(&props->next, almemory_order_relaxed); } while(ATOMIC_COMPARE_EXCHANGE_WEAK(struct ALsourceProps*, &source->FreeList, &props, next, almemory_order_seq_cst, - almemory_order_consume) == 0); + almemory_order_acquire) == 0); } /* Copy in current property values. */ -- cgit v1.2.3