aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-21 00:54:37 -0700
committerChris Robinson <[email protected]>2014-03-21 01:23:01 -0700
commitff63188cc2eb307eb874350e5281733d9c50f258 (patch)
treec422ded3a9125811f5658fb279aef96245c78268 /Alc/ALu.c
parente6e3937fa9d1d192bc26b900438b45c0e6eb5be2 (diff)
Add a generic vector interface and use it for the active effect slots
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 85cb6332..b0e9ea24 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1086,8 +1086,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
}
/* effect slot processing */
- slot = ctx->ActiveEffectSlots;
- slot_end = slot + ctx->ActiveEffectSlotCount;
+ slot = VECTOR_ITER_BEGIN(ctx->ActiveAuxSlots);
+ slot_end = VECTOR_ITER_END(ctx->ActiveAuxSlots);
while(slot != slot_end)
{
ALfloat offset = (*slot)->ClickRemoval[0];