diff options
author | Chris Robinson <[email protected]> | 2022-02-13 21:00:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-13 21:00:57 -0800 |
commit | 3e6d210767e432c780f892b2365f3644456b61b3 (patch) | |
tree | 2f914604efa03749d87d42a8257864bf42ad21ba /al/auxeffectslot.h | |
parent | cdae6de6891f783fc5089ff82b9284f4a2c71e5b (diff) |
Avoid more unnecessary atomics
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r-- | al/auxeffectslot.h | 2 |
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}; |