aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index b94216ff..3033e7ce 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -905,10 +905,10 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
ALeffectslot **slot, **slot_end;
ALsource **src, **src_end;
ALCcontext *ctx;
- int fpuState;
+ FPUCtl oldMode;
ALuint i, c;
- fpuState = SetMixerFPUMode();
+ SetMixerFPUMode(&oldMode);
while(size > 0)
{
@@ -1082,7 +1082,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
size -= SamplesToDo;
}
- RestoreFPUMode(fpuState);
+ RestoreFPUMode(&oldMode);
}