diff options
author | Chris Robinson <[email protected]> | 2022-07-26 01:48:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-07-26 01:48:40 -0700 |
commit | fdc0132f444f8a9e6cf17c0a3c1bddeddb74aa4d (patch) | |
tree | 45c35dc2bd529008da0306d6216df5489ce0b8a4 /al/auxeffectslot.cpp | |
parent | 7dcd2a86b8ff6c4f1a2872cea626d0d7a4adc269 (diff) |
Mark the EffectSlot in use after getting one
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r-- | al/auxeffectslot.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index 0cfd6636..0f0a20f8 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -916,6 +916,7 @@ ALeffectslot::ALeffectslot(ALCcontext *context) Effect.State = state; mSlot = context->getEffectSlot(); + mSlot->InUse = true; mSlot->mEffectState = state.release(); } |