diff options
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r-- | al/auxeffectslot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index a0b8840f..e2dccb4d 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -706,7 +706,7 @@ ALeffectslot::~ALeffectslot() DecrementRef(Target->ref); Target = nullptr; - ALeffectslotProps *props{Update.load()}; + ALeffectslotProps *props{Params.Update.load()}; if(props) { if(props->State) props->State->release(); @@ -750,7 +750,7 @@ void UpdateEffectSlotProps(ALeffectslot *slot, ALCcontext *context) props->State = slot->Effect.State; /* Set the new container for updating internal parameters. */ - props = slot->Update.exchange(props, std::memory_order_acq_rel); + props = slot->Params.Update.exchange(props, std::memory_order_acq_rel); if(props) { /* If there was an unused update container, put it back in the |