diff options
author | Chris Robinson <[email protected]> | 2011-07-11 01:51:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-11 01:51:24 -0700 |
commit | 3245e992c3abb3d77badc6bbdc5dd1ffb5c13054 (patch) | |
tree | e008b5cdab5599247c2ee8645e5a144f8a2bb401 /OpenAL32 | |
parent | 1299fa2801cea599236f76377036627a5364035c (diff) |
Always pass the slot's effect to the update method
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index e442fa2c..09e29f1e 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -500,7 +500,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL memset(&EffectSlot->effect, 0, sizeof(EffectSlot->effect)); else memcpy(&EffectSlot->effect, effect, sizeof(*effect)); - ALEffect_Update(EffectSlot->EffectState, Context, effect); + ALEffect_Update(EffectSlot->EffectState, Context, &EffectSlot->effect); } |