From 7b0776e33f84056179275a4a42cae7dbef9d6a71 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 15 Jul 2022 11:54:54 -0700 Subject: Don't pass an EaxCall to initialize_fx_slots --- al/auxeffectslot.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'al/auxeffectslot.cpp') diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index aaf9ce4c..162b5137 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -1055,10 +1055,7 @@ EffectSlotSubList::~EffectSlotSubList() } #ifdef ALSOFT_EAX -void ALeffectslot::eax_initialize( - const EaxCall& call, - ALCcontext& al_context, - EaxFxSlotIndexValue index) +void ALeffectslot::eax_initialize(ALCcontext& al_context, EaxFxSlotIndexValue index) { if(index >= EAX_MAX_FXSLOTS) eax_fail("Index out of range."); @@ -1066,15 +1063,10 @@ void ALeffectslot::eax_initialize( mPropsDirty = true; eax_al_context_ = &al_context; eax_fx_slot_index_ = index; - eax_version_ = call.get_version(); + eax_version_ = eax_al_context_->eax_get_version(); eax_fx_slot_set_defaults(); } -const EAX50FXSLOTPROPERTIES& ALeffectslot::eax_get_eax_fx_slot() const noexcept -{ - return eax_; -} - void ALeffectslot::eax_commit() { auto df = EaxDirtyFlags{}; -- cgit v1.2.3