diff options
author | Chris Robinson <[email protected]> | 2008-01-15 16:24:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-15 16:24:12 -0800 |
commit | a6213ebfc75da6428849083d57e57dec3f8670a3 (patch) | |
tree | 168fbc57a5428020fdc76d5f2efcbf8c2d81973d /OpenAL32/alEffect.c | |
parent | b95fcf5da1bb9b37f26c5f42864074790a48dc4f (diff) |
Fix allocation of multiple effect slots, effects, and filters
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r-- | OpenAL32/alEffect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index 9c61adab..cdcac605 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -71,6 +71,8 @@ AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects) InitEffectParams(*list, AL_EFFECT_NULL); g_EffectCount++; i++; + + list = &(*list)->next; } } } |