diff options
author | Chris Robinson <[email protected]> | 2022-02-13 19:37:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-13 19:37:45 -0800 |
commit | ea7c6f3e4e47500e33de4f76cc12bd0be5081351 (patch) | |
tree | 12261c20b21fa3855ac7992778e73e3aea1d5489 /al/source.h | |
parent | 66f6cf121e5a65f5ec0c93872b60e123fa2ad0f3 (diff) |
Don't make mPropsDirty atomic
It's only ever used under the ALCcontext::mPropLock mutex.
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.h b/al/source.h index a89a8297..27e012af 100644 --- a/al/source.h +++ b/al/source.h @@ -187,7 +187,7 @@ struct ALsource { /** Source Buffer Queue head. */ al::deque<ALbufferQueueItem> mQueue; - al::atomic_invflag mPropsDirty; + bool mPropsDirty{false}; /* Index into the context's Voices array. Lazily updated, only checked and * reset when looking up the voice. |