From 3245e992c3abb3d77badc6bbdc5dd1ffb5c13054 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jul 2011 01:51:24 -0700 Subject: Always pass the slot's effect to the update method --- OpenAL32/alAuxEffectSlot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index e442fa2c..09e29f1e 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -500,7 +500,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL memset(&EffectSlot->effect, 0, sizeof(EffectSlot->effect)); else memcpy(&EffectSlot->effect, effect, sizeof(*effect)); - ALEffect_Update(EffectSlot->EffectState, Context, effect); + ALEffect_Update(EffectSlot->EffectState, Context, &EffectSlot->effect); } -- cgit v1.2.3