diff options
author | MAN-AT-ARMS <donny@ecgnetwork.com> | 2014-02-22 17:57:19 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-06-17 17:43:40 +0100 |
commit | 810d881c89b5f398f81aae07c93ef28daa59858b (patch) | |
tree | 97f16ed9a655c176ed1e1fb9a65d5e941114be5c /src/client/qal.c | |
parent | 24b32bee94af9c0a3dc5846bacc515b18df4a26d (diff) |
Replace deprecated alDopplerVelocity with alSpeedOfSound per OpenAL 1.1 spec
Diffstat (limited to 'src/client/qal.c')
-rw-r--r-- | src/client/qal.c | 3 |
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; |