diff options
author | Chris Robinson <[email protected]> | 2021-04-13 15:34:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-13 15:34:54 -0700 |
commit | 92148a3a044389863601b8b907bcfc69ff77b869 (patch) | |
tree | 268fea972ce95f0a1756138b4fa0dcaffc506629 /al/auxeffectslot.cpp | |
parent | fb44c467b86091e001441eab8c8493bb22a40894 (diff) |
Fix inverted check for updating deferred effectslot properties
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r-- | al/auxeffectslot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index 10f13be7..4465e54e 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -1004,7 +1004,7 @@ void UpdateAllEffectSlotProps(ALCcontext *context) usemask &= ~(1_u64 << idx); if(slot->mState != SlotState::Stopped - && slot->PropsClean.test_and_set(std::memory_order_acq_rel)) + && !slot->PropsClean.test_and_set(std::memory_order_acq_rel)) slot->updateProps(context); } } |