aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alListener.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-19 01:20:03 -0800
committerChris Robinson <[email protected]>2018-11-19 01:20:03 -0800
commit6e114a7a70c90d575e5978c5bcac95307bec0140 (patch)
tree82126cd9d68bf76de7e049dc5dbfc216a1b1f9b6 /OpenAL32/alListener.cpp
parent190de1452e647aa9d45099d782d20473cba1284c (diff)
Replace ATOMIC_REPLACE_HEAD with an inline function
Diffstat (limited to 'OpenAL32/alListener.cpp')
-rw-r--r--OpenAL32/alListener.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}