aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.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/alState.cpp
parent190de1452e647aa9d45099d782d20473cba1284c (diff)
Replace ATOMIC_REPLACE_HEAD with an inline function
Diffstat (limited to 'OpenAL32/alState.cpp')
-rw-r--r--OpenAL32/alState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alState.cpp b/OpenAL32/alState.cpp
index 85789c5e..836853bb 100644
--- a/OpenAL32/alState.cpp
+++ b/OpenAL32/alState.cpp
@@ -794,6 +794,6 @@ void UpdateContextProps(ALCcontext *context)
/* If there was an unused update container, put it back in the
* freelist.
*/
- ATOMIC_REPLACE_HEAD(struct ALcontextProps*, &context->FreeContextProps, props);
+ AtomicReplaceHead(context->FreeContextProps, props);
}
}