diff options
author | Chris Robinson <[email protected]> | 2011-09-23 22:50:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-23 22:50:33 -0700 |
commit | a9b6b284c0ab4c098510198c78b759bf0eac483e (patch) | |
tree | 70af74a069d608d5e43220d73da05bc3f9f7e539 | |
parent | da62f5052890054daa11603eb9bd2522cae8a3df (diff) |
Change a double type to a float
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -779,7 +779,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) DirGain = aluSqrt(Position[0]*Position[0] + Position[2]*Position[2]); // elevation adjustment for directional gain. this sucks, but // has low complexity - AmbientGain = aluSqrt(1.0/Device->NumChan); + AmbientGain = aluSqrt(1.0f/Device->NumChan); for(i = 0;i < MAXCHANNELS;i++) { ALuint i2; |