diff options
author | Chris Robinson <[email protected]> | 2019-08-13 22:06:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-13 22:06:14 -0700 |
commit | ecab99bce914c6c74351fb2d5878dd82d73b1fe2 (patch) | |
tree | 1bc8ed49ab939712abf3d0a079b96f9662b8beed /alc/alu.cpp | |
parent | 0806a003e2b359b173b84548d8b78a25e8b51ca3 (diff) |
Move update pointers to the containers they update
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index aebb2236..4a0ea8f9 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -286,7 +286,7 @@ bool CalcListenerParams(ALCcontext *Context) { ALlistener &Listener = Context->mListener; - ALlistenerProps *props{Listener.Update.exchange(nullptr, std::memory_order_acq_rel)}; + ALlistenerProps *props{Listener.Params.Update.exchange(nullptr, std::memory_order_acq_rel)}; if(!props) return false; /* AT then UP */ @@ -321,7 +321,7 @@ bool CalcListenerParams(ALCcontext *Context) bool CalcEffectSlotParams(ALeffectslot *slot, ALCcontext *context) { - ALeffectslotProps *props{slot->Update.exchange(nullptr, std::memory_order_acq_rel)}; + ALeffectslotProps *props{slot->Params.Update.exchange(nullptr, std::memory_order_acq_rel)}; if(!props) return false; slot->Params.Gain = props->Gain; |