aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-02-12 08:18:20 -0800
committerChris Robinson <[email protected]>2012-02-12 08:18:20 -0800
commit9f073b6f1b29a00d229e200f507bece1bd59336c (patch)
tree265f5c78514548decd10b03a3c5ee84c2b41e33e /OpenAL32/alSource.c
parentb375b130babf7dd08bb666abb46c035807ee4549 (diff)
Use a proper enum value for setting the default distance model
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index eefca756..d62a5c76 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1826,7 +1826,7 @@ static ALvoid InitSourceParams(ALsource *Source)
Source->DopplerFactor = 1.0f;
Source->DirectChannels = AL_FALSE;
- Source->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;
+ Source->DistanceModel = DefaultDistanceModel;
Source->Resampler = DefaultResampler;