aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-13 14:49:58 -0700
committerChris Robinson <[email protected]>2012-03-13 14:49:58 -0700
commitb5ed2a5351c065fb1de5ecc52e3d981458cd2f2c (patch)
tree2f7d3e15ebb4905390a5e3e5554c8acdf8701f41 /OpenAL32/alState.c
parent55c5e4fe92eefc4c9208a4f6ac967247a4c4ab34 (diff)
Pass a device to the effect update functions
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r--OpenAL32/alState.c2
1 files changed, 1 insertions, 1 deletions
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++;
}