From 8ef777ebbefd651e6039369cc52fa13effa18c2f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Mar 2012 23:58:12 -0700 Subject: Restore the FPU mode in an error path --- OpenAL32/alAuxEffectSlot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32') 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); -- cgit v1.2.3