aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 39b635a4..35d3bb84 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -2828,7 +2828,7 @@ START_API_FUNC
alloc_count);
const size_t newcount{context->mVoices->size() + alloc_count};
- AllocateVoices(context.get(), newcount);
+ context->allocVoices(newcount);
}
context->mVoiceCount.fetch_add(need_voices, std::memory_order_relaxed);