aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-13 19:37:45 -0800
committerChris Robinson <[email protected]>2022-02-13 19:37:45 -0800
commitea7c6f3e4e47500e33de4f76cc12bd0be5081351 (patch)
tree12261c20b21fa3855ac7992778e73e3aea1d5489 /al/source.h
parent66f6cf121e5a65f5ec0c93872b60e123fa2ad0f3 (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.h2
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.