aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/mixer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 4e7ec8b6..b709be9c 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -760,8 +760,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
fpuState = fegetround();
fesetround(FE_TOWARDZERO);
#elif defined(HAVE__CONTROLFP)
- fpuState = _controlfp(0, 0);
- _controlfp(_RC_CHOP, _MCW_RC);
+ fpuState = _controlfp(_RC_CHOP, _MCW_RC);
#else
(void)fpuState;
#endif
@@ -939,6 +938,6 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
#if defined(HAVE_FESETROUND)
fesetround(fpuState);
#elif defined(HAVE__CONTROLFP)
- _controlfp(fpuState, 0xfffff);
+ _controlfp(fpuState, _MCW_RC);
#endif
}