From 2c20f2678478c2320a0236baf288baed8987b1f8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 29 May 2009 16:51:00 -0700 Subject: Apply slot gain on slot output, not input --- OpenAL32/alAuxEffectSlot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alAuxEffectSlot.c') diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index d2e43183..62d153c1 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -491,7 +491,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *ALEffectSlot, else if(effect->type == AL_EFFECT_ECHO) ALEffectSlot->EffectState = EchoCreate(Context); } - ALEffect_Update(ALEffectSlot->EffectState, Context, ALEffectSlot, effect); + ALEffect_Update(ALEffectSlot->EffectState, Context, effect); } -- cgit v1.2.3