aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-11 01:51:24 -0700
committerChris Robinson <[email protected]>2011-07-11 01:51:24 -0700
commit3245e992c3abb3d77badc6bbdc5dd1ffb5c13054 (patch)
treee008b5cdab5599247c2ee8645e5a144f8a2bb401
parent1299fa2801cea599236f76377036627a5364035c (diff)
Always pass the slot's effect to the update method
-rw-r--r--OpenAL32/alAuxEffectSlot.c2
1 files changed, 1 insertions, 1 deletions
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);
}