Always pass the slot's effect to the update method

This commit is contained in:
Chris Robinson
2011-07-11 01:51:24 -07:00
parent 1299fa2801
commit 3245e992c3
+1 -1
View File
@@ -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);
}