Make sure the effectslot map is properly initialized
This commit is contained in:
parent
7f6df7695c
commit
ac05863f72
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user