aboutsummaryrefslogtreecommitdiffstats
path: root/main/openal-soft/openal-fegetround.patch
blob: 261ab595a05fe4586846f0afc81f4886c1e1706b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- openal-soft-1.12.854.orig/Alc/ALu.c
+++ openal-soft-1.12.854.mod/Alc/ALu.c
@@ -1345,7 +1345,7 @@
     int fpuState;
     ALuint i, c;
 
-#if defined(HAVE_FESETROUND)
+#if 0
     fpuState = fegetround();
     fesetround(FE_TOWARDZERO);
 #elif defined(HAVE__CONTROLFP)
@@ -1489,7 +1489,7 @@
         size -= SamplesToDo;
     }
 
-#if defined(HAVE_FESETROUND)
+#if 0
     fesetround(fpuState);
 #elif defined(HAVE__CONTROLFP)
     _controlfp(fpuState, 0xfffff);