diff options
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/source.cpp b/al/source.cpp index 08b8246b..e363b0da 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -1130,7 +1130,7 @@ void SetSourcei64v(ALsource *Source, ALCcontext *Context, SourceProp prop, const void UpdateSourceProps(ALsource *source, ALCcontext *context) { - if(!context->mDeferUpdates.load(std::memory_order_acquire)) + if(!context->mDeferUpdates) { if(Voice *voice{GetSourceVoice(source, context)}) { @@ -1143,7 +1143,7 @@ void UpdateSourceProps(ALsource *source, ALCcontext *context) #ifdef ALSOFT_EAX void CommitAndUpdateSourceProps(ALsource *source, ALCcontext *context) { - if(!context->mDeferUpdates.load(std::memory_order_acquire)) + if(!context->mDeferUpdates) { if(source->eax_is_initialized()) source->eax_commit(); |