aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.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/alSource.cpp
parent190de1452e647aa9d45099d782d20473cba1284c (diff)
Replace ATOMIC_REPLACE_HEAD with an inline function
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r--OpenAL32/alSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp
index 2fe81320..ac220a2e 100644
--- a/OpenAL32/alSource.cpp
+++ b/OpenAL32/alSource.cpp
@@ -3236,7 +3236,7 @@ static void UpdateSourceProps(ALsource *source, ALvoice *voice, ALsizei num_send
/* If there was an unused update container, put it back in the
* freelist.
*/
- ATOMIC_REPLACE_HEAD(struct ALvoiceProps*, &context->FreeVoiceProps, props);
+ AtomicReplaceHead(context->FreeVoiceProps, props);
}
}