aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alAuxEffectSlot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index 2014fd7a..38b182df 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -550,6 +550,7 @@ ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, ALeffect
if(ALeffectState_DeviceUpdate(State, Context->Device) == AL_FALSE)
{
+ RestoreFPUMode(oldMode);
UnlockContext(Context);
ALeffectState_Destroy(State);
alSetError(Context, AL_OUT_OF_MEMORY);