diff options
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r-- | OpenAL32/alSource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index c0e48c5c..87729c73 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -68,9 +68,7 @@ void UpdateSourceProps(ALsource *source, ALvoice *voice, ALCcontext *context) /* Get an unused property container, or allocate a new one as needed. */ ALvoiceProps *props{context->FreeVoiceProps.load(std::memory_order_acquire)}; if(!props) - props = static_cast<ALvoiceProps*>(al_calloc(16, - FAM_SIZE(ALvoiceProps, Send, source->Send.size())) - ); + props = new ALvoiceProps{}; else { ALvoiceProps *next; |