Fix allocation of multiple effect slots, effects, and filters

This commit is contained in:
Chris Robinson 2008-01-15 16:24:12 -08:00
parent b95fcf5da1
commit a6213ebfc7
3 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,8 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo
Context->AuxiliaryEffectSlotCount++;
i++;
list = &(*list)->next;
}
}
}

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}