From 042ec206e729f46c2d11e5c55a76b5f5cf68cea6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 5 Jan 2008 05:03:31 -0800 Subject: 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. --- Alc/ALu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index 0b668b65..f4524d71 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -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; } -- cgit v1.2.3