aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/base.cpp')
-rw-r--r--Alc/backends/base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp
index 1fef0439..0afc4ee1 100644
--- a/Alc/backends/base.cpp
+++ b/Alc/backends/base.cpp
@@ -19,7 +19,7 @@ void ALCdevice_Unlock(ALCdevice *device)
ClockLatency GetClockLatency(ALCdevice *device)
{
- BackendBase *backend{device->Backend};
+ BackendBase *backend{device->Backend.get()};
ClockLatency ret{backend->getClockLatency()};
ret.Latency += device->FixedLatency;
return ret;