aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index d13cfc54..294ba394 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2466,7 +2466,7 @@ ALCcontext_struct::~ALCcontext_struct()
TRACE("Freed " SZFMT " listener property object%s\n", count, (count==1)?"":"s");
count = 0;
- auto evt_vec = ll_ringbuffer_get_read_vector(AsyncEvents);
+ auto evt_vec = AsyncEvents->getReadVector();
while(evt_vec.first.len > 0)
{
reinterpret_cast<AsyncEvent*>(evt_vec.first.buf)->~AsyncEvent();