mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
AL_InitUnderwaterFilter wasn't being compiled conditionallyi
This commit is contained in:
parent
082c2d454f
commit
1c84805c1f
1 changed files with 2 additions and 0 deletions
|
@ -677,6 +677,7 @@ AL_InitStreamSource()
|
|||
static void
|
||||
AL_InitUnderwaterFilter()
|
||||
{
|
||||
#if !defined (__APPLE__)
|
||||
/* Generate a filter */
|
||||
qalGenFilters(1, &underwaterFilter);
|
||||
|
||||
|
@ -698,6 +699,7 @@ AL_InitUnderwaterFilter()
|
|||
/* The effect */
|
||||
qalFilterf(underwaterFilter, AL_LOWPASS_GAIN, 1.5);
|
||||
qalFilterf(underwaterFilter, AL_LOWPASS_GAINHF, 0.25);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue