aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
diff options
context:
space:
mode:
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 c9e54f60..71f99a11 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -49,7 +49,7 @@ struct ALeffectslot {
ALenum Type{AL_EFFECT_NULL};
EffectProps Props{};
- EffectState *State{nullptr};
+ al::intrusive_ptr<EffectState> State;
} Effect;
std::atomic_flag PropsClean;