Make sure the effectslot map is properly initialized

This commit is contained in:
Chris Robinson 2010-06-06 00:21:13 -07:00
parent 7f6df7695c
commit ac05863f72

View File

@ -894,6 +894,7 @@ static ALvoid InitContext(ALCcontext *pContext)
pContext->Suspended = AL_FALSE; pContext->Suspended = AL_FALSE;
pContext->ActiveSourceCount = 0; pContext->ActiveSourceCount = 0;
InitUIntMap(&pContext->SourceMap); InitUIntMap(&pContext->SourceMap);
InitUIntMap(&pContext->EffectSlotMap);
//Set globals //Set globals
pContext->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED; pContext->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;