aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-11-27 20:05:21 -0800
committerChris Robinson <[email protected]>2009-11-27 20:05:21 -0800
commit98ce1d14c12bf164206b1f0d3ab4dca6d627c8be (patch)
tree062296b8c92b0c5e43217b0d2ce8e902bc39e594 /Alc/ALc.c
parent69f9ab88b9b9ad1b14bd1a143af230eab2a15b61 (diff)
Update AL_EXTX_source_distance_model to require explicit enabling
The in-progress spec has been updated to reflect this
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index c25fa5af..9225f330 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -561,6 +561,7 @@ static ALvoid InitContext(ALCcontext *pContext)
//Set globals
pContext->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;
+ pContext->SourceDistanceModel = AL_FALSE;
pContext->DopplerFactor = 1.0f;
pContext->DopplerVelocity = 1.0f;
pContext->flSpeedOfSound = SPEEDOFSOUNDMETRESPERSEC;