diff options
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 048248aa..e3a626a1 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -528,12 +528,12 @@ ALenum InitializeEffect(ALCdevice *Device, ALeffectslot *EffectSlot, ALeffect *e if(State) { - int oldMode; - oldMode = SetMixerFPUMode(); + FPUCtl oldMode; + SetMixerFPUMode(&oldMode); if(ALeffectState_DeviceUpdate(State, Device) == AL_FALSE) { - RestoreFPUMode(oldMode); + RestoreFPUMode(&oldMode); ALCdevice_Unlock(Device); ALeffectState_Destroy(State); return AL_OUT_OF_MEMORY; @@ -551,7 +551,7 @@ ALenum InitializeEffect(ALCdevice *Device, ALeffectslot *EffectSlot, ALeffect *e ALeffectState_Update(EffectSlot->EffectState, Device, EffectSlot); ALCdevice_Unlock(Device); - RestoreFPUMode(oldMode); + RestoreFPUMode(&oldMode); ALeffectState_Destroy(State); State = NULL; |