aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-20 10:45:01 -0800
committerChris Robinson <[email protected]>2018-11-20 10:45:01 -0800
commit191ea90de3994f9e98377ea9318c4c7b6885179c (patch)
tree53d42071b9ff0693b706c956a56f760361a11d41 /Alc/alcontext.h
parent1e31ac469e129ccd5cde5fb890b31fa8b6815a9b (diff)
Use atomic_flags and atomic<bools>s where appropriate
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r--Alc/alcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h
index 424f1447..ce715bc2 100644
--- a/Alc/alcontext.h
+++ b/Alc/alcontext.h
@@ -69,8 +69,8 @@ struct ALCcontext_struct {
ALfloat SpeedOfSound{};
ALfloat MetersPerUnit{1.0f};
- ATOMIC(ALenum) PropsClean{AL_TRUE};
- ATOMIC(ALenum) DeferUpdates{AL_FALSE};
+ std::atomic_flag PropsClean{true};
+ std::atomic<bool> DeferUpdates{false};
almtx_t PropLock;