aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-07-15 06:24:37 -0700
committerChris Robinson <chris.kcat@gmail.com>2022-07-15 06:58:15 -0700
commitaf5d4fb77dd12bee2dd5c4b7feadcbab913d6290 (patch)
tree9a10efe4dd38caa17895b308ba0a42379ec824a1 /alc/context.cpp
parent0f4679981b575cc76158126dec7d9bdda3ba1c29 (diff)
Don't store and manage wet buffers separately
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 4d04526a..3dbeaea0 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -128,9 +128,6 @@ ALCcontext::~ALCcontext()
eax_uninitialize();
#endif // ALSOFT_EAX
- /* Delete the ALeffectslots, so the EffectSlots can be deleted before the
- * WetBuffers are deleted.
- */
mDefaultSlot = nullptr;
count = std::accumulate(mEffectSlotList.cbegin(), mEffectSlotList.cend(), size_t{0u},
[](size_t cur, const EffectSlotSubList &sublist) noexcept -> size_t
@@ -139,8 +136,6 @@ ALCcontext::~ALCcontext()
WARN("%zu AuxiliaryEffectSlot%s not deleted\n", count, (count==1)?"":"s");
mEffectSlotList.clear();
mNumEffectSlots = 0;
-
- mEffectSlotClusters.clear();
}
void ALCcontext::init()