diff options
author | Chris Robinson <[email protected]> | 2012-06-29 02:12:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-06-29 02:12:36 -0700 |
commit | 6bd535bed0101bbe91c4a1a7dc4f93167e40810c (patch) | |
tree | 6ff7dd6ab5a18cb05d8b1ebc1a92c4b430d2b838 /Alc/alcDedicated.c | |
parent | 524c88c4025391aa17752d329cc2d548c9a6d261 (diff) |
Use wrappers for float-typed math functions
Diffstat (limited to 'Alc/alcDedicated.c')
-rw-r--r-- | Alc/alcDedicated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c index 60460962..64c2910b 100644 --- a/Alc/alcDedicated.c +++ b/Alc/alcDedicated.c @@ -61,7 +61,7 @@ static ALvoid DedicatedUpdate(ALeffectState *effect, ALCdevice *device, const AL state->gains[s] = 0.0f; if(Slot->effect.type == AL_EFFECT_DEDICATED_DIALOGUE) - ComputeAngleGains(device, aluAtan2(0.0f, 1.0f), 0.0f, Gain, state->gains); + ComputeAngleGains(device, atan2f(0.0f, 1.0f), 0.0f, Gain, state->gains); else if(Slot->effect.type == AL_EFFECT_DEDICATED_LOW_FREQUENCY_EFFECT) state->gains[LFE] = Gain; } |