aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-12 23:28:51 -0700
committerChris Robinson <[email protected]>2012-10-12 23:28:51 -0700
commit06ab9cf70e2c33d5789760603898e668cd74b166 (patch)
tree12f55e52c897f585d3c00e474022ab286e8714af /Alc
parenta3d4868ef4aff13da8c2e9fde88e1f6a479ac7d2 (diff)
Use the enum to set the default distance model
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
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;