Fix allocation of multiple effect slots, effects, and filters
This commit is contained in:
parent
b95fcf5da1
commit
a6213ebfc7
@ -76,6 +76,8 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo
|
|||||||
|
|
||||||
Context->AuxiliaryEffectSlotCount++;
|
Context->AuxiliaryEffectSlotCount++;
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
|
list = &(*list)->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,8 @@ AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects)
|
|||||||
InitEffectParams(*list, AL_EFFECT_NULL);
|
InitEffectParams(*list, AL_EFFECT_NULL);
|
||||||
g_EffectCount++;
|
g_EffectCount++;
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
|
list = &(*list)->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,8 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters)
|
|||||||
InitFilterParams(*list, AL_FILTER_NULL);
|
InitFilterParams(*list, AL_FILTER_NULL);
|
||||||
g_FilterCount++;
|
g_FilterCount++;
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
|
list = &(*list)->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user