aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-01 17:16:09 -0800
committerChris Robinson <[email protected]>2020-03-01 17:16:09 -0800
commit3e1a2c0f77baa81244a436e29db4e4780cdc2105 (patch)
treecacb56fa34b20d971a0d89718a4b20d733ef9ebb /alc/alc.cpp
parenta01617904c222578b71d6912cc5e5410b137c626 (diff)
Use an intrusive_ptr for the device's HrtfStore
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 42d586c7..e03dc2f6 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -2447,8 +2447,6 @@ ALCdevice::~ALCdevice()
if(count > 0)
WARN("%zu Filter%s not deleted\n", count, (count==1)?"":"s");
- if(mHrtf)
- mHrtf->DecRef();
mHrtf = nullptr;
auto *oldarray = mContexts.exchange(nullptr, std::memory_order_relaxed);