diff options
author | Chris Robinson <[email protected]> | 2020-12-27 11:30:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-27 11:30:45 -0800 |
commit | 04358890d9de4182599688a13b12dfb02aae6dca (patch) | |
tree | 365b1a2a7e6056a91261cd7e2e084e037cf8aa29 /alc/alc.cpp | |
parent | adb54677208c8dba40e60cd0731a11219cbbe319 (diff) |
Use a unique_ptr to hold DistanceComp data
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index b98cc520..9ac60ca1 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1888,7 +1888,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) device->PostProcess = nullptr; device->Limiter = nullptr; - device->ChannelDelay.clear(); + device->ChannelDelays = nullptr; std::fill(std::begin(device->HrtfAccumData), std::end(device->HrtfAccumData), float2{}); |