diff options
author | Chris Robinson <[email protected]> | 2020-09-05 18:12:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-09-05 18:13:08 -0700 |
commit | 7851f7d4ceff78f2722a4a2e3957c75dec26da1d (patch) | |
tree | 8377161321d12fa31e5396fad8111e10f7ec86c7 /alc/alc.cpp | |
parent | c1ad5d6055e5f40a8c6edc351f9a7f8047e7d07f (diff) |
Don't add effect slots to the active list until an effect is set
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index c74c1ad8..a8ec407f 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -2459,6 +2459,7 @@ void ALCcontext::init() { auxslots = ALeffectslot::CreatePtrArray(1); (*auxslots)[0] = mDefaultSlot.get(); + mDefaultSlot->mState = SlotState::Playing; } mActiveAuxSlots.store(auxslots, std::memory_order_relaxed); |