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 | |
parent | b95fcf5da1bb9b37f26c5f42864074790a48dc4f (diff) |
Fix allocation of multiple effect slots, effects, and filters
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 | ||||
-rw-r--r-- | OpenAL32/alEffect.c | 2 | ||||
-rw-r--r-- | OpenAL32/alFilter.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 64ec6ef4..7eae3476 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -76,6 +76,8 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo Context->AuxiliaryEffectSlotCount++; i++; + + list = &(*list)->next; } } } 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; } } } diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 14247fc3..ea4e5832 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -71,6 +71,8 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters) InitFilterParams(*list, AL_FILTER_NULL); g_FilterCount++; i++; + + list = &(*list)->next; } } } |