From 0b9fc03545f7418be89bb9a8901b342ce84a5f67 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 15 Jul 2022 04:28:13 -0700 Subject: Dynamically allocate EffectSlot objects --- al/auxeffectslot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al/auxeffectslot.h') diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index df760117..8b80a2d4 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -63,7 +63,7 @@ struct ALeffectslot { RefCount ref{0u}; - EffectSlot mSlot; + EffectSlot *mSlot{nullptr}; /* Self ID */ ALuint id{}; -- cgit v1.2.3