aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-23 01:31:13 -0800
committerChris Robinson <[email protected]>2016-11-23 01:31:13 -0800
commit6886f77cbc02b93db3682acb27eb767c6541fba0 (patch)
tree3c081ac0e3327054214f66706cb8c55739ee3679 /Alc/ALc.c
parentfcb669f803d37be80492879801fba9c9011f7edf (diff)
Only send source updates for sources that have updated
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 2 insertions, 1 deletions
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;