From c8c16884c5fbd68ddee6e53d7a1c5e81c294de31 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 22 Feb 2014 18:05:48 -0600 Subject: Remove references to alDopplerVelocity Let's load driver even if it doesn't have the deprecated alDopplerVelocity. --- src/client/qal.c | 3 --- src/client/qal.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/client/qal.c b/src/client/qal.c index df3a9b91..308bf226 100644 --- a/src/client/qal.c +++ b/src/client/qal.c @@ -84,7 +84,6 @@ LPALBUFFERDATA qalBufferData; LPALGETBUFFERF qalGetBufferf; LPALGETBUFFERI qalGetBufferi; LPALDOPPLERFACTOR qalDopplerFactor; -LPALDOPPLERVELOCITY qalDopplerVelocity; LPALSPEEDOFSOUND qalSpeedOfSound; LPALDISTANCEMODEL qalDistanceModel; @@ -203,7 +202,6 @@ qboolean QAL_Init(const char *libname) qalGetBufferf = GPA("alGetBufferf"); qalGetBufferi = GPA("alGetBufferi"); qalDopplerFactor = GPA("alDopplerFactor"); - qalDopplerVelocity = GPA("alDopplerVelocity"); qalSpeedOfSound = GPA("alSpeedOfSound"); qalDistanceModel = GPA("alDistanceModel"); @@ -303,7 +301,6 @@ void QAL_Shutdown( void ) qalGetBufferf = NULL; qalGetBufferi = NULL; qalDopplerFactor = NULL; - qalDopplerVelocity = NULL; qalSpeedOfSound = NULL; qalDistanceModel = NULL; diff --git a/src/client/qal.h b/src/client/qal.h index f688d2cb..a2b5d247 100644 --- a/src/client/qal.h +++ b/src/client/qal.h @@ -126,7 +126,6 @@ extern LPALGETBUFFERI qalGetBufferi; extern LPALGETBUFFER3I qalGetBuffer3i; extern LPALGETBUFFERIV qalGetBufferiv; extern LPALDOPPLERFACTOR qalDopplerFactor; -extern LPALDOPPLERVELOCITY qalDopplerVelocity; extern LPALSPEEDOFSOUND qalSpeedOfSound; extern LPALDISTANCEMODEL qalDistanceModel; @@ -221,7 +220,6 @@ extern LPALCCAPTURESAMPLES qalcCaptureSamples; #define qalGetBuffer3i alGetBuffer3i #define qalGetBufferiv alGetBufferiv #define qalDopplerFactor alDopplerFactor -#define qalDopplerVelocity alDopplerVelocity #define qalSpeedOfSound alSpeedOfSound #define qalDistanceModel alDistanceModel -- cgit