aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-26 18:19:58 -0800
committerChris Robinson <[email protected]>2018-11-26 18:19:58 -0800
commitdf3dcc879f6c037efcb1285f08d70c76cd570bee (patch)
treeb12c5a6e72d10feb22d2206d0bd2d4b2bfeb16a0 /OpenAL32/alState.cpp
parent461ef4196ed78a2803325fbda45a035ed5e6cf71 (diff)
Get rid of the last ATOMIC macro uses
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 95a4fd92..e2cd96d6 100644
--- a/OpenAL32/alState.cpp
+++ b/OpenAL32/alState.cpp
@@ -659,7 +659,7 @@ AL_API ALvoid AL_APIENTRY alDopplerVelocity(ALfloat value)
ContextRef context{GetContextRef()};
if(UNLIKELY(!context)) return;
- if((ATOMIC_LOAD(&context->EnabledEvts, almemory_order_relaxed)&EventType_Deprecated))
+ if((context->EnabledEvts.load(std::memory_order_relaxed)&EventType_Deprecated))
{
static constexpr ALCchar msg[] =
"alDopplerVelocity is deprecated in AL1.1, use alSpeedOfSound";