diff options
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index f538e347..c167c227 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -1199,7 +1199,7 @@ no_hrtf: } if(device->Render_Mode == NormalRender) { - device->Uhj_Encoder = reinterpret_cast<Uhj2Encoder*>(al_calloc(16, sizeof(Uhj2Encoder))); + device->Uhj_Encoder.reset(new Uhj2Encoder{}); TRACE("UHJ enabled\n"); InitUhjPanning(device); return; |