aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-13 21:00:28 -0800
committerChris Robinson <[email protected]>2022-02-13 21:00:57 -0800
commit3e6d210767e432c780f892b2365f3644456b61b3 (patch)
tree2f914604efa03749d87d42a8257864bf42ad21ba /al/auxeffectslot.h
parentcdae6de6891f783fc5089ff82b9284f4a2c71e5b (diff)
Avoid more unnecessary atomics
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r--al/auxeffectslot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h
index 30f9caac..d845b2b4 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -48,7 +48,7 @@ struct ALeffectslot {
al::intrusive_ptr<EffectState> State;
} Effect;
- al::atomic_invflag mPropsDirty;
+ bool mPropsDirty{true};
SlotState mState{SlotState::Initial};