diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp index 47fff9d1..c9803819 100644 --- a/OpenAL32/alAuxEffectSlot.cpp +++ b/OpenAL32/alAuxEffectSlot.cpp @@ -190,7 +190,7 @@ ALeffectslotArray *ALeffectslot::CreatePtrArray(size_t count) noexcept /* Allocate space for twice as many pointers, so the mixer has scratch * space to store a sorted list during mixing. */ - void *ptr{al_calloc(DEF_ALIGN, ALeffectslotArray::CalcSizeof(count*2))}; + void *ptr{al_calloc(DEF_ALIGN, ALeffectslotArray::Sizeof(count*2))}; return new (ptr) ALeffectslotArray{count}; } |