aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-16 03:02:16 -0700
committerChris Robinson <[email protected]>2011-07-16 03:02:16 -0700
commit3bd7256dc826f21b30e90c9d761e8d5639700afe (patch)
tree275acee6c06705b4504dfd797fc073430e6626e3 /Alc/ALu.c
parentda2429a1d0ad184abe24f61aa7e064b81026651c (diff)
Pass the effect slot to the effect update method
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index dff205dd..3dc1a1ff 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1034,7 +1034,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
if(ALEffectSlot->NeedsUpdate)
{
ALEffectSlot->NeedsUpdate = AL_FALSE;
- ALEffect_Update(ALEffectSlot->EffectState, *ctx, &ALEffectSlot->effect);
+ ALEffect_Update(ALEffectSlot->EffectState, *ctx, ALEffectSlot);
}
ALEffect_Process(ALEffectSlot->EffectState, ALEffectSlot,