diff options
author | Chris Robinson <[email protected]> | 2012-10-12 23:28:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-12 23:28:51 -0700 |
commit | 06ab9cf70e2c33d5789760603898e668cd74b166 (patch) | |
tree | 12f55e52c897f585d3c00e474022ab286e8714af /Alc/ALc.c | |
parent | a3d4868ef4aff13da8c2e9fde88e1f6a479ac7d2 (diff) |
Use the enum to set the default distance model
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |