diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2019-08-13 22:06:14 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2019-08-13 22:06:14 -0700 |
commit | ecab99bce914c6c74351fb2d5878dd82d73b1fe2 (patch) | |
tree | 1bc8ed49ab939712abf3d0a079b96f9662b8beed /al/listener.cpp | |
parent | 0806a003e2b359b173b84548d8b78a25e8b51ca3 (diff) |
Move update pointers to the containers they update
Diffstat (limited to 'al/listener.cpp')
-rw-r--r-- | al/listener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/listener.cpp b/al/listener.cpp index 402d8a27..7a14a9ba 100644 --- a/al/listener.cpp +++ b/al/listener.cpp @@ -441,7 +441,7 @@ void UpdateListenerProps(ALCcontext *context) props->MetersPerUnit = listener.mMetersPerUnit; /* Set the new container for updating internal parameters. */ - props = listener.Update.exchange(props, std::memory_order_acq_rel); + props = listener.Params.Update.exchange(props, std::memory_order_acq_rel); if(props) { /* If there was an unused update container, put it back in the |