From fa3c34268dd7d9bc380ecd19aedb28924d29b295 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 17 Nov 2018 23:02:27 -0800 Subject: Move the ALCcontext definition to its own header --- Alc/alc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Alc/alc.cpp') 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 #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; -- cgit v1.2.3