From b5ed2a5351c065fb1de5ecc52e3d981458cd2f2c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 13 Mar 2012 14:49:58 -0700 Subject: Pass a device to the effect update functions --- Alc/alcModulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc/alcModulator.c') diff --git a/Alc/alcModulator.c b/Alc/alcModulator.c index 328e1678..2cdbcd0b 100644 --- a/Alc/alcModulator.c +++ b/Alc/alcModulator.c @@ -127,10 +127,9 @@ static ALboolean ModulatorDeviceUpdate(ALeffectState *effect, ALCdevice *Device) (void)Device; } -static ALvoid ModulatorUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffectslot *Slot) +static ALvoid ModulatorUpdate(ALeffectState *effect, ALCdevice *Device, const ALeffectslot *Slot) { ALmodulatorState *state = (ALmodulatorState*)effect; - ALCdevice *Device = Context->Device; ALfloat gain, cw, a = 0.0f; ALuint index; -- cgit v1.2.3