summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
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/Include/alu.h
parentb375b130babf7dd08bb666abb46c035807ee4549 (diff)
Use a proper enum value for setting the default distance model
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index a3584775..64e5f2e2 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -157,7 +157,9 @@ enum DistanceModel {
InverseDistance = AL_INVERSE_DISTANCE,
LinearDistance = AL_LINEAR_DISTANCE,
ExponentDistance = AL_EXPONENT_DISTANCE,
- DisableDistance = AL_NONE
+ DisableDistance = AL_NONE,
+
+ DefaultDistanceModel = InverseDistanceClamped
};
#define BUFFERSIZE 4096