aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-13 15:34:54 -0700
committerChris Robinson <[email protected]>2021-04-13 15:34:54 -0700
commit92148a3a044389863601b8b907bcfc69ff77b869 (patch)
tree268fea972ce95f0a1756138b4fa0dcaffc506629 /al/auxeffectslot.cpp
parentfb44c467b86091e001441eab8c8493bb22a40894 (diff)
Fix inverted check for updating deferred effectslot properties
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r--al/auxeffectslot.cpp2
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);
}
}