diff options
author | Chris Robinson <[email protected]> | 2021-04-18 16:21:25 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-18 16:21:25 -0700 |
commit | 2b64008b3e565e4129784872002acd23d26580dd (patch) | |
tree | 0d618686e33567fecc6c10edbe07e14888bc6159 | |
parent | 9e5e6f3b1642fe7724d14491d9d3eb339738fd5b (diff) |
Fix dirty flag check
-rw-r--r-- | al/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp index 4a80b273..20de0809 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -3506,7 +3506,7 @@ void UpdateAllSourceProps(ALCcontext *context) ALsource *source = sid ? LookupSource(context, sid) : nullptr; if(source && source->VoiceIdx == vidx) { - if(!source->mPropsDirty.test_and_clear(std::memory_order_acq_rel)) + if(source->mPropsDirty.test_and_clear(std::memory_order_acq_rel)) UpdateSourceProps(source, voice, context); } ++vidx; |