diff options
author | Chris Robinson <[email protected]> | 2016-11-23 01:31:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-11-23 01:31:13 -0800 |
commit | 6886f77cbc02b93db3682acb27eb767c6541fba0 (patch) | |
tree | 3c081ac0e3327054214f66706cb8c55739ee3679 /Alc/ALc.c | |
parent | fcb669f803d37be80492879801fba9c9011f7edf (diff) |
Only send source updates for sources that have updated
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |