From 98ce1d14c12bf164206b1f0d3ab4dca6d627c8be Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 27 Nov 2009 20:05:21 -0800 Subject: Update AL_EXTX_source_distance_model to require explicit enabling The in-progress spec has been updated to reflect this --- Alc/ALc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc/ALc.c') 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; -- cgit v1.2.3