From 06ab9cf70e2c33d5789760603898e668cd74b166 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Oct 2012 23:28:51 -0700 Subject: [PATCH] Use the enum to set the default distance model --- Alc/ALc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index 1b157666..eeaf54f9 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1831,7 +1831,7 @@ static ALvoid InitContext(ALCcontext *Context) InitUIntMap(&Context->EffectSlotMap, Context->Device->AuxiliaryEffectSlotMax); //Set globals - Context->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED; + Context->DistanceModel = DefaultDistanceModel; Context->SourceDistanceModel = AL_FALSE; Context->DopplerFactor = 1.0f; Context->DopplerVelocity = 1.0f; -- 2.11.4.GIT