Skip to content

Commit

Permalink
Remove references to alDopplerVelocity
Browse files Browse the repository at this point in the history
Let's load driver even if it doesn't have the deprecated alDopplerVelocity.
  • Loading branch information
zturtleman committed Feb 23, 2014
1 parent 6887a69 commit 5bf4f26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions code/client/qal.c
Expand Up @@ -83,7 +83,6 @@ LPALBUFFERDATA qalBufferData;
LPALGETBUFFERF qalGetBufferf;
LPALGETBUFFERI qalGetBufferi;
LPALDOPPLERFACTOR qalDopplerFactor;
LPALDOPPLERVELOCITY qalDopplerVelocity;
LPALSPEEDOFSOUND qalSpeedOfSound;
LPALDISTANCEMODEL qalDistanceModel;

Expand Down Expand Up @@ -202,7 +201,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");

Expand Down Expand Up @@ -302,7 +300,6 @@ void QAL_Shutdown( void )
qalGetBufferf = NULL;
qalGetBufferi = NULL;
qalDopplerFactor = NULL;
qalDopplerVelocity = NULL;
qalSpeedOfSound = NULL;
qalDistanceModel = NULL;

Expand Down
2 changes: 0 additions & 2 deletions code/client/qal.h
Expand Up @@ -125,7 +125,6 @@ extern LPALGETBUFFERI qalGetBufferi;
extern LPALGETBUFFER3I qalGetBuffer3i;
extern LPALGETBUFFERIV qalGetBufferiv;
extern LPALDOPPLERFACTOR qalDopplerFactor;
extern LPALDOPPLERVELOCITY qalDopplerVelocity;
extern LPALSPEEDOFSOUND qalSpeedOfSound;
extern LPALDISTANCEMODEL qalDistanceModel;

Expand Down Expand Up @@ -220,7 +219,6 @@ extern LPALCCAPTURESAMPLES qalcCaptureSamples;
#define qalGetBuffer3i alGetBuffer3i
#define qalGetBufferiv alGetBufferiv
#define qalDopplerFactor alDopplerFactor
#define qalDopplerVelocity alDopplerVelocity
#define qalSpeedOfSound alSpeedOfSound
#define qalDistanceModel alDistanceModel

Expand Down

0 comments on commit 5bf4f26

Please sign in to comment.