diff options
Diffstat (limited to 'OpenAL32/event.cpp')
-rw-r--r-- | OpenAL32/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/event.cpp b/OpenAL32/event.cpp index a2c98928..0491c7c6 100644 --- a/OpenAL32/event.cpp +++ b/OpenAL32/event.cpp @@ -38,7 +38,7 @@ static int EventThread(ALCcontext *context) continue; } - ALbitfieldSOFT enabledevts{ATOMIC_LOAD(&context->EnabledEvts, almemory_order_acquire)}; + ALbitfieldSOFT enabledevts{context->EnabledEvts.load(std::memory_order_acquire)}; if(context->EventCb && (enabledevts&evt.EnumType) == evt.EnumType) context->EventCb(evt.u.user.type, evt.u.user.id, evt.u.user.param, (ALsizei)strlen(evt.u.user.msg), evt.u.user.msg, context->EventParam |