aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-06-06 00:21:13 -0700
committerChris Robinson <[email protected]>2010-06-06 00:21:13 -0700
commitac05863f729d46e6173724a3464f81aafc1b3d1e (patch)
treeece2b27428b96a0db43591b365c7c857a63f758a /Alc/ALc.c
parent7f6df7695c9c8cd957339f85e57233f5d3308e49 (diff)
Make sure the effectslot map is properly initialized
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 3c4880bd..d4c1ad9f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -894,6 +894,7 @@ static ALvoid InitContext(ALCcontext *pContext)
pContext->Suspended = AL_FALSE;
pContext->ActiveSourceCount = 0;
InitUIntMap(&pContext->SourceMap);
+ InitUIntMap(&pContext->EffectSlotMap);
//Set globals
pContext->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;