mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Merge pull request #23 from alericoveri/osx-aluwf
AL_InitUnderwaterFilter wasn't being compiled conditionally
This commit is contained in:
commit
b58b78714b
1 changed files with 2 additions and 0 deletions
|
@ -677,6 +677,7 @@ AL_InitStreamSource()
|
||||||
static void
|
static void
|
||||||
AL_InitUnderwaterFilter()
|
AL_InitUnderwaterFilter()
|
||||||
{
|
{
|
||||||
|
#if !defined (__APPLE__)
|
||||||
/* Generate a filter */
|
/* Generate a filter */
|
||||||
qalGenFilters(1, &underwaterFilter);
|
qalGenFilters(1, &underwaterFilter);
|
||||||
|
|
||||||
|
@ -698,6 +699,7 @@ AL_InitUnderwaterFilter()
|
||||||
/* The effect */
|
/* The effect */
|
||||||
qalFilterf(underwaterFilter, AL_LOWPASS_GAIN, 1.5);
|
qalFilterf(underwaterFilter, AL_LOWPASS_GAIN, 1.5);
|
||||||
qalFilterf(underwaterFilter, AL_LOWPASS_GAINHF, 0.25);
|
qalFilterf(underwaterFilter, AL_LOWPASS_GAINHF, 0.25);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue