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 /Alc/alc.cpp | |
parent | 8f6e0f97ec5543de8ae49f12046b5c893565778e (diff) |
Move the ALCcontext definition to its own header
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp index c719eaa9..ec9a0adf 100644 --- a/Alc/alc.cpp +++ b/Alc/alc.cpp @@ -37,6 +37,7 @@ #include <algorithm> #include "alMain.h" +#include "alcontext.h" #include "alSource.h" #include "alListener.h" #include "alSource.h" @@ -2633,7 +2634,7 @@ static ALvoid InitContext(ALCcontext *Context) ATOMIC_INIT(&Context->ActiveAuxSlots, auxslots); //Set globals - Context->DistanceModel = DefaultDistanceModel; + Context->DistanceModel = DistanceModel::Default; Context->SourceDistanceModel = AL_FALSE; Context->DopplerFactor = 1.0f; Context->DopplerVelocity = 1.0f; |