diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-07-15 11:54:54 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-07-15 11:54:54 -0700 |
commit | 7b0776e33f84056179275a4a42cae7dbef9d6a71 (patch) | |
tree | 94612e0c5a2a1115b5a4b1dbc41634e0b3029c18 /al/eax/fx_slots.cpp | |
parent | af5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (diff) |
Don't pass an EaxCall to initialize_fx_slots
Diffstat (limited to 'al/eax/fx_slots.cpp')
-rw-r--r-- | al/eax/fx_slots.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/al/eax/fx_slots.cpp b/al/eax/fx_slots.cpp index 83de8f78..d04b70df 100644 --- a/al/eax/fx_slots.cpp +++ b/al/eax/fx_slots.cpp @@ -28,11 +28,9 @@ public: } // namespace -void EaxFxSlots::initialize( - const EaxCall& call, - ALCcontext& al_context) +void EaxFxSlots::initialize(ALCcontext& al_context) { - initialize_fx_slots(call, al_context); + initialize_fx_slots(al_context); } void EaxFxSlots::uninitialize() noexcept @@ -64,16 +62,14 @@ void EaxFxSlots::fail( throw EaxFxSlotsException{message}; } -void EaxFxSlots::initialize_fx_slots( - const EaxCall& call, - ALCcontext& al_context) +void EaxFxSlots::initialize_fx_slots(ALCcontext& al_context) { auto fx_slot_index = EaxFxSlotIndexValue{}; for (auto& fx_slot : fx_slots_) { fx_slot = eax_create_al_effect_slot(al_context); - fx_slot->eax_initialize(call, al_context, fx_slot_index); + fx_slot->eax_initialize(al_context, fx_slot_index); fx_slot_index += 1; } } |