diff options
author | Chris Robinson <[email protected]> | 2018-11-26 14:31:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 14:31:54 -0800 |
commit | a6923790fac739f0b98db6c06bc93543b9707556 (patch) | |
tree | e30677dd529ba0a2fecb6cbd6232f862acdc27dd /Alc/backends/qsa.cpp | |
parent | 5b2b96b24598636e35f1fe7ecf868b09571065d6 (diff) |
Avoid using ATOMIC_INIT
Diffstat (limited to 'Alc/backends/qsa.cpp')
-rw-r--r-- | Alc/backends/qsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/qsa.cpp b/Alc/backends/qsa.cpp index 09082357..a6d1e0ea 100644 --- a/Alc/backends/qsa.cpp +++ b/Alc/backends/qsa.cpp @@ -289,7 +289,7 @@ static ALCenum qsa_open_playback(PlaybackWrapper *self, const ALCchar* deviceNam data = (qsa_data*)calloc(1, sizeof(qsa_data)); if(data == NULL) return ALC_OUT_OF_MEMORY; - ATOMIC_INIT(&data->killNow, AL_TRUE); + data->killNow.store(AL_TRUE, std::memory_order_relaxed); if(!deviceName) deviceName = qsaDevice; |