diff options
author | Chris Robinson <[email protected]> | 2016-08-25 06:17:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-25 06:17:36 -0700 |
commit | a16739f7651afb7653387b1e79b2985058d76e90 (patch) | |
tree | 0e0071564da36bb70293f36541a295682e13868f /Alc/ALc.c | |
parent | 4e4e597fa54cc3498ae28bea9c2684e1fee05389 (diff) |
Properly defer effect slot changes
Note that this now also causes all playing sources to update when an effect
slot is updated. This is a bit wasteful, as it should only need to re-update
sources that are using the effect slot (and only when a relevant property is
changed), but it's good enough. Especially with deferring since all playing
sources are going to get updated on the process call anyway.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1611,6 +1611,7 @@ void ALCcontext_ProcessUpdates(ALCcontext *context) althrd_yield(); UpdateListenerProps(context); + UpdateAllEffectSlotProps(context); LockUIntMapRead(&context->SourceMap); V0(device->Backend,lock)(); |