aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b49cc49f..5635c87f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1013,6 +1013,8 @@ ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context)
// Lock context
SuspendContext(context);
+ ReleaseALAuxiliaryEffectSlots(context);
+
context->Device->Context = NULL;
list = &g_pContextList;