From df3dcc879f6c037efcb1285f08d70c76cd570bee Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 26 Nov 2018 18:19:58 -0800 Subject: Get rid of the last ATOMIC macro uses --- OpenAL32/alState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alState.cpp') 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"; -- cgit v1.2.3