diff options
author | Chris Robinson <[email protected]> | 2018-11-26 18:19:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 18:19:58 -0800 |
commit | df3dcc879f6c037efcb1285f08d70c76cd570bee (patch) | |
tree | b12c5a6e72d10feb22d2206d0bd2d4b2bfeb16a0 /Alc/mixvoice.cpp | |
parent | 461ef4196ed78a2803325fbda45a035ed5e6cf71 (diff) |
Get rid of the last ATOMIC macro uses
Diffstat (limited to 'Alc/mixvoice.cpp')
-rw-r--r-- | Alc/mixvoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixvoice.cpp b/Alc/mixvoice.cpp index 5a1a1d4d..86de61ee 100644 --- a/Alc/mixvoice.cpp +++ b/Alc/mixvoice.cpp @@ -706,7 +706,7 @@ ALboolean MixSource(ALvoice *voice, ALuint SourceID, ALCcontext *Context, ALsize DataPosInt -= BufferListItem->max_samples; buffers_done += BufferListItem->num_buffers; - BufferListItem = ATOMIC_LOAD(&BufferListItem->next, almemory_order_relaxed); + BufferListItem = BufferListItem->next.load(std::memory_order_relaxed); if(!BufferListItem && !(BufferListItem=BufferLoopItem)) { isplaying = false; |