aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index e44c6c2c..25626320 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1611,11 +1611,9 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
{
ALsizei SamplesToDo;
ALCcontext *ctx;
- FPUCtl oldMode;
ALsizei i, c;
- SetMixerFPUMode(&oldMode);
-
+ START_MIXER_MODE();
while(size > 0)
{
SamplesToDo = mini(size, BUFFERSIZE);
@@ -1819,8 +1817,7 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
size -= SamplesToDo;
}
-
- RestoreFPUMode(&oldMode);
+ END_MIXER_MODE();
}