diff options
author | Chris Robinson <[email protected]> | 2022-07-15 04:28:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-07-15 04:28:13 -0700 |
commit | 0b9fc03545f7418be89bb9a8901b342ce84a5f67 (patch) | |
tree | 38e5cbf58a3444938116867a8c78e7fc6f7d280b /al/auxeffectslot.h | |
parent | 07c2e786f5959f15c50f380f347d345e59218af2 (diff) |
Dynamically allocate EffectSlot objects
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 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{}; |