From c88c5e6189fda16bdc0f9d87d64f5e11a8f1a40a Mon Sep 17 00:00:00 2001 From: "Boris I. Bendovsky" Date: Thu, 14 Jul 2022 20:24:52 +0300 Subject: [EAX_FX_SLOT] Mark sources as changed instead of commiting them to catch up with changes in FX slot --- alc/context.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'alc/context.cpp') diff --git a/alc/context.cpp b/alc/context.cpp index 403c4fa3..3decb5c4 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -384,11 +384,6 @@ ALenum ALCcontext::eax_eax_get( return AL_NO_ERROR; } -void ALCcontext::eax_update_filters() -{ - ForEachSource(this, [](ALsource& source){ source.eax_commit(); }); -} - void ALCcontext::eax_commit_and_update_sources() { std::unique_lock source_lock{mSourceLock}; @@ -626,7 +621,7 @@ void ALCcontext::eax_dispatch_fx_slot(const EaxCall& call) if(fx_slot.eax_dispatch(call)) { std::lock_guard source_lock{mSourceLock}; - eax_update_filters(); + ForEachSource(this, [](ALsource& source){ source.eax_mark_as_changed(); }); } } -- cgit v1.2.3