diff options
author | Chris Robinson <[email protected]> | 2016-05-15 17:14:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-15 22:16:27 -0700 |
commit | 945fd022d6c9d612a5fae944d8cbef68927d8a92 (patch) | |
tree | 88a1fdfd2890c0f9f0ee4d3a541571177609f2bc /Alc/ALc.c | |
parent | 63e98481eef0eb02dac14b889be80836a300eecc (diff) |
Avoid separate updates to sources that should apply together
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2266,6 +2266,8 @@ static ALvoid InitContext(ALCcontext *Context) ATOMIC_INIT(&listener->FreeList, NULL); //Validate Context + InitRef(&Context->UpdateCount, 0); + ATOMIC_INIT(&Context->HoldUpdates, AL_FALSE); RWLockInit(&Context->PropLock); ATOMIC_INIT(&Context->LastError, AL_NO_ERROR); InitUIntMap(&Context->SourceMap, Context->Device->MaxNoOfSources); |