From 1aca34468877feb07a2c05a23d4fdb8f41cecfd2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 23 Mar 2017 19:32:53 -0700 Subject: Fix handling of the PropsClean flags --- OpenAL32/alAuxEffectSlot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alAuxEffectSlot.c') diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 8fc62bde..65107287 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -683,7 +683,7 @@ void UpdateAllEffectSlotProps(ALCcontext *context) slot = ATOMIC_LOAD_SEQ(&context->ActiveAuxSlotList); while(slot) { - if(ATOMIC_FLAG_TEST_AND_SET(&slot->PropsClean, almemory_order_acq_rel)) + if(!ATOMIC_FLAG_TEST_AND_SET(&slot->PropsClean, almemory_order_acq_rel)) UpdateEffectSlotProps(slot); slot = ATOMIC_LOAD(&slot->next, almemory_order_relaxed); } -- cgit v1.2.3