aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 23:02:27 -0800
committerChris Robinson <[email protected]>2018-11-17 23:02:27 -0800
commitfa3c34268dd7d9bc380ecd19aedb28924d29b295 (patch)
treec702638d5589054498fc6c7292b6d6d908954954 /OpenAL32/alState.cpp
parent8f6e0f97ec5543de8ae49f12046b5c893565778e (diff)
Move the ALCcontext definition to its own header
Diffstat (limited to 'OpenAL32/alState.cpp')
-rw-r--r--OpenAL32/alState.cpp11
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;