aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-11 17:19:08 -0800
committerChris Robinson <[email protected]>2008-01-11 17:19:08 -0800
commit3bbbf8a025c66367fdb19dce70c9a2b6505725f4 (patch)
tree4a1e7d433689989de8cd314b8796466a2f029192 /Alc/ALu.c
parent312108a0d32190289a1e59a3797b7075d6d745d3 (diff)
parent978764cb6b84d78187badf9d8d5b7177d047654f (diff)
Merge branch 'master' into efx-experiment
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index eefab9ee..d91b24cc 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;
}