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 --- OpenAL32/alState.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alState.c') diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index c50df9e6..ec6ee827 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -617,7 +617,7 @@ AL_API ALvoid AL_APIENTRY alDeferUpdatesSOFT(void) while(slot != slot_end) { if(ExchangeInt(&(*slot)->NeedsUpdate, AL_FALSE)) - ALeffectState_Update((*slot)->EffectState, Context, *slot); + ALeffectState_Update((*slot)->EffectState, Context->Device, *slot); slot++; } -- cgit v1.2.3