Properly save the original FPU state when using _controlfp
This commit is contained in:
parent
7b87519c15
commit
4c94ba6d8a
@ -954,7 +954,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
|
||||
fpuState = fegetround();
|
||||
fesetround(FE_TOWARDZERO);
|
||||
#elif defined(HAVE__CONTROLFP)
|
||||
fpuState = _controlfp(_RC_CHOP, _MCW_RC);
|
||||
fpuState = _controlfp(0, 0);
|
||||
(void)_controlfp(_RC_CHOP, _MCW_RC);
|
||||
#else
|
||||
(void)fpuState;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user