summaryrefslogtreecommitdiff
path: root/src/client/qal.c
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-02-22 17:57:19 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:40 +0100
commit810d881c89b5f398f81aae07c93ef28daa59858b (patch)
tree97f16ed9a655c176ed1e1fb9a65d5e941114be5c /src/client/qal.c
parent24b32bee94af9c0a3dc5846bacc515b18df4a26d (diff)
Replace deprecated alDopplerVelocity with alSpeedOfSound per OpenAL 1.1 spec
Diffstat (limited to 'src/client/qal.c')
-rw-r--r--src/client/qal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qal.c b/src/client/qal.c
index 8cef0379..df3a9b91 100644
--- a/src/client/qal.c
+++ b/src/client/qal.c
@@ -85,6 +85,7 @@ LPALGETBUFFERF qalGetBufferf;
LPALGETBUFFERI qalGetBufferi;
LPALDOPPLERFACTOR qalDopplerFactor;
LPALDOPPLERVELOCITY qalDopplerVelocity;
+LPALSPEEDOFSOUND qalSpeedOfSound;
LPALDISTANCEMODEL qalDistanceModel;
LPALCCREATECONTEXT qalcCreateContext;
@@ -203,6 +204,7 @@ qboolean QAL_Init(const char *libname)
qalGetBufferi = GPA("alGetBufferi");
qalDopplerFactor = GPA("alDopplerFactor");
qalDopplerVelocity = GPA("alDopplerVelocity");
+ qalSpeedOfSound = GPA("alSpeedOfSound");
qalDistanceModel = GPA("alDistanceModel");
qalcCreateContext = GPA("alcCreateContext");
@@ -302,6 +304,7 @@ void QAL_Shutdown( void )
qalGetBufferi = NULL;
qalDopplerFactor = NULL;
qalDopplerVelocity = NULL;
+ qalSpeedOfSound = NULL;
qalDistanceModel = NULL;
qalcCreateContext = NULL;