diff options
author | Chris Robinson <[email protected]> | 2020-12-16 14:58:55 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-16 14:58:55 -0800 |
commit | f0fe57dc5a1b518397688b868592287f49d1afef (patch) | |
tree | bcf23e07525467ab8b543abc8cb89372bc6e55d5 /alc | |
parent | efc9c146c3c9c2c08af88a6c26d13da9ec5be074 (diff) |
Don't link DistanceModel enums to AL values
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alcontext.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/alc/alcontext.h b/alc/alcontext.h index c13930b9..21102538 100644 --- a/alc/alcontext.h +++ b/alc/alcontext.h @@ -34,13 +34,10 @@ struct VoiceChange; enum class DistanceModel { - InverseClamped = AL_INVERSE_DISTANCE_CLAMPED, - LinearClamped = AL_LINEAR_DISTANCE_CLAMPED, - ExponentClamped = AL_EXPONENT_DISTANCE_CLAMPED, - Inverse = AL_INVERSE_DISTANCE, - Linear = AL_LINEAR_DISTANCE, - Exponent = AL_EXPONENT_DISTANCE, - Disable = AL_NONE, + Disable, + Inverse, InverseClamped, + Linear, LinearClamped, + Exponent, ExponentClamped, Default = InverseClamped }; |