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/alcDedicated.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc/alcDedicated.c') diff --git a/Alc/alcDedicated.c b/Alc/alcDedicated.c index 2f9e3dcc..5bd22a72 100644 --- a/Alc/alcDedicated.c +++ b/Alc/alcDedicated.c @@ -50,10 +50,9 @@ static ALboolean DedicatedDeviceUpdate(ALeffectState *effect, ALCdevice *Device) return AL_TRUE; } -static ALvoid DedicatedUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffectslot *Slot) +static ALvoid DedicatedUpdate(ALeffectState *effect, ALCdevice *device, const ALeffectslot *Slot) { ALdedicatedState *state = (ALdedicatedState*)effect; - ALCdevice *device = Context->Device; const ALfloat *ChannelGain; ALfloat Gain; ALint pos; -- cgit v1.2.3