summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 16:22:39 -0800
committerChris Robinson <[email protected]>2008-01-15 16:22:39 -0800
commitb95fcf5da1bb9b37f26c5f42864074790a48dc4f (patch)
tree9dd8ecbbc152ebd14722ee075963aee4a9ce8cff /Alc/ALc.c
parent707e5968115f99afd6efe6b0f61d8bbf0baa7a94 (diff)
Store effect slots in the context
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;