From 810d881c89b5f398f81aae07c93ef28daa59858b Mon Sep 17 00:00:00 2001 From: MAN-AT-ARMS Date: Sat, 22 Feb 2014 17:57:19 -0500 Subject: Replace deprecated alDopplerVelocity with alSpeedOfSound per OpenAL 1.1 spec --- src/client/qal.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/qal.c') 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; -- cgit