diff options
author | Chris Robinson <[email protected]> | 2008-01-05 05:03:31 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-05 05:03:31 -0800 |
commit | 042ec206e729f46c2d11e5c55a76b5f5cf68cea6 (patch) | |
tree | ddc82807d8cfd495e77f15a9d8851bba2eb1ec22 /Alc/ALu.c | |
parent | b3badbf97d95d84bb0de655275b00e30948e311f (diff) |
Disable fast float-to-int hack.
Even with precautions, it's giving problems. Not worth it since I don't quite
understand how it works, or know if there's even a benefit.
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -151,12 +151,14 @@ __inline ALuint aluChannelsFromFormat(ALenum format) static __inline ALint aluF2L(ALfloat Value) { +#if 0 if(sizeof(ALint) == 4 && sizeof(double) == 8) { double temp; temp = Value + (((65536.0*65536.0*16.0)+(65536.0*65536.0*8.0))*65536.0); return *((ALint*)&temp); } +#endif return (ALint)Value; } |