From cdfe0d8f5af871258f1f58493e9659148659cacb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 20 Mar 2017 21:25:39 -0700 Subject: Use an atomic flag to test if a source needs to update --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index f275871e..f830a602 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -2254,7 +2254,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) } } - source->NeedsUpdate = AL_TRUE; + ATOMIC_FLAG_CLEAR(&source->PropsClean, almemory_order_release); /* Clear any pre-existing source property structs, in case the * number of auxiliary sends changed. Playing (or paused) sources -- cgit v1.2.3