diff options
author | Chris Robinson <[email protected]> | 2018-01-28 16:58:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-28 16:58:41 -0800 |
commit | c2710ffe87dae7d292e77ed9663783e9d5c227dc (patch) | |
tree | 87b273d1b4bd077426670b056402185144e535b8 /Alc/ALc.c | |
parent | 782eb650c73fe01d1008a2a1bb9da56b65211eff (diff) |
Make EnabledEvts atomic
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2554,7 +2554,7 @@ static ALvoid InitContext(ALCcontext *Context) ATOMIC_FLAG_TEST_AND_SET(&Context->PropsClean, almemory_order_relaxed); ATOMIC_INIT(&Context->DeferUpdates, AL_FALSE); almtx_init(&Context->EventLock, almtx_plain); - Context->EnabledEvts = 0; + ATOMIC_INIT(&Context->EnabledEvts, 0); Context->EventCb = NULL; Context->EventParam = NULL; |