diff options
author | Chris Robinson <[email protected]> | 2017-04-19 19:54:17 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-19 19:54:17 -0700 |
commit | 5dcbb8db38bb9aa88d3be45cf84f2e7d993acdd0 (patch) | |
tree | f7e59a298568b62849eda41c00f52335d0296191 /Alc/ALu.c | |
parent | fbb5295f13711f978a1ad5a8abfc6c6d3970df0c (diff) |
Make the buffer list next pointer atomic
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1301,7 +1301,7 @@ static void CalcSourceParams(ALvoice *voice, ALCcontext *context, ALboolean forc CalcNonAttnSourceParams(voice, voice->Props, buffer, context); break; } - BufferListItem = BufferListItem->next; + BufferListItem = ATOMIC_LOAD(&BufferListItem->next, almemory_order_acquire); } } |