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/alc.cpp | |
parent | 0806a003e2b359b173b84548d8b78a25e8b51ca3 (diff) |
Move update pointers to the containers they update
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index ca7dbb0f..baf31993 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2382,7 +2382,7 @@ ALCcontext::~ALCcontext() mVoices = nullptr; mVoiceCount.store(0, std::memory_order_relaxed); - ALlistenerProps *lprops{mListener.Update.exchange(nullptr, std::memory_order_relaxed)}; + ALlistenerProps *lprops{mListener.Params.Update.exchange(nullptr, std::memory_order_relaxed)}; if(lprops) { TRACE("Freed unapplied listener update %p\n", lprops); |