diff options
author | Chris Robinson <[email protected]> | 2018-11-19 05:04:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-19 05:04:17 -0800 |
commit | ac2a420351a2489fc347689968767a15f863ec77 (patch) | |
tree | 262c3a296386959fbcb43bfbbbd93acfef6cb5c5 /OpenAL32/alBuffer.cpp | |
parent | ad5f9d9b22f8860f0c6ca06004c134182dda95df (diff) |
Remove the ATOMIC_THREAD_FENCE macro
Diffstat (limited to 'OpenAL32/alBuffer.cpp')
-rw-r--r-- | OpenAL32/alBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.cpp b/OpenAL32/alBuffer.cpp index cd173193..b08518ba 100644 --- a/OpenAL32/alBuffer.cpp +++ b/OpenAL32/alBuffer.cpp @@ -656,7 +656,7 @@ AL_API void AL_APIENTRY alFlushMappedBufferSOFT(ALuint buffer, ALsizei offset, A * asynchronously. Currently we just say the app shouldn't write where * OpenAL's reading, and hope for the best... */ - ATOMIC_THREAD_FENCE(almemory_order_seq_cst); + std::atomic_thread_fence(std::memory_order_seq_cst); } } |