From 6e114a7a70c90d575e5978c5bcac95307bec0140 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 19 Nov 2018 01:20:03 -0800 Subject: Replace ATOMIC_REPLACE_HEAD with an inline function --- OpenAL32/alListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alListener.cpp') diff --git a/OpenAL32/alListener.cpp b/OpenAL32/alListener.cpp index 05fd7a21..574f897c 100644 --- a/OpenAL32/alListener.cpp +++ b/OpenAL32/alListener.cpp @@ -498,6 +498,6 @@ void UpdateListenerProps(ALCcontext *context) /* If there was an unused update container, put it back in the * freelist. */ - ATOMIC_REPLACE_HEAD(struct ALlistenerProps*, &context->FreeListenerProps, props); + AtomicReplaceHead(context->FreeListenerProps, props); } } -- cgit v1.2.3