diff options
author | Chris Robinson <[email protected]> | 2010-06-06 00:21:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-06-06 00:21:13 -0700 |
commit | ac05863f729d46e6173724a3464f81aafc1b3d1e (patch) | |
tree | ece2b27428b96a0db43591b365c7c857a63f758a /Alc | |
parent | 7f6df7695c9c8cd957339f85e57233f5d3308e49 (diff) |
Make sure the effectslot map is properly initialized
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |