From 6886f77cbc02b93db3682acb27eb767c6541fba0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 23 Nov 2016 01:31:13 -0800 Subject: Only send source updates for sources that have updated --- Alc/ALc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 9d3467f7..2e7c1e7f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -2141,10 +2141,11 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) source->Send[s].LFReference = HIGHPASSFREQREF; s++; } + source->NeedsUpdate = AL_TRUE; } UnlockUIntMapRead(&context->SourceMap); - UpdateAllSourceProps(context); + UpdateListenerProps(context); ReadUnlock(&context->PropLock); context = context->next; -- cgit v1.2.3