diff options
author | Chris Robinson <[email protected]> | 2018-11-17 23:02:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-17 23:02:27 -0800 |
commit | fa3c34268dd7d9bc380ecd19aedb28924d29b295 (patch) | |
tree | c702638d5589054498fc6c7292b6d6d908954954 /OpenAL32/alState.cpp | |
parent | 8f6e0f97ec5543de8ae49f12046b5c893565778e (diff) |
Move the ALCcontext definition to its own header
Diffstat (limited to 'OpenAL32/alState.cpp')
-rw-r--r-- | OpenAL32/alState.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenAL32/alState.cpp b/OpenAL32/alState.cpp index 6750de1f..c550d2b5 100644 --- a/OpenAL32/alState.cpp +++ b/OpenAL32/alState.cpp @@ -23,14 +23,11 @@ #include "version.h" #include <stdlib.h> + #include "alMain.h" -#include "AL/alc.h" -#include "AL/al.h" -#include "AL/alext.h" +#include "alcontext.h" +#include "alu.h" #include "alError.h" -#include "alListener.h" -#include "alSource.h" -#include "alAuxEffectSlot.h" #include "backends/base.h" @@ -152,7 +149,7 @@ AL_API ALboolean AL_APIENTRY alGetBoolean(ALenum pname) break; case AL_DISTANCE_MODEL: - if(context->DistanceModel == AL_INVERSE_DISTANCE_CLAMPED) + if(context->DistanceModel == DistanceModel::Default) value = AL_TRUE; break; |