aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 5af83f70..1b4bf338 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1427,7 +1427,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
return ALC_FALSE;
}
slot->NeedsUpdate = AL_FALSE;
- ALEffect_Update(slot->EffectState, context, &slot->effect);
+ ALEffect_Update(slot->EffectState, context, slot);
}
for(pos = 0;pos < context->SourceMap.size;pos++)