diff options
author | Chris Robinson <[email protected]> | 2017-03-09 07:15:06 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-09 07:15:06 -0800 |
commit | ae22d742dc665fb5a75a24c9af24945a5722d8ff (patch) | |
tree | 01caff03b9733f596c435a39b49af1d8f670b099 | |
parent | 5ffb0842ac5022b1e5d34973ed6f512b5f0d7434 (diff) |
Remove an unnecessary variable
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1704,13 +1704,12 @@ void ALCcontext_ProcessUpdates(ALCcontext *context) if(ATOMIC_EXCHANGE_SEQ(ALenum, &context->DeferUpdates, AL_FALSE)) { ALsizei pos; - uint updates; /* Tell the mixer to stop applying updates, then wait for any active * updating to finish, before providing updates. */ ATOMIC_STORE_SEQ(&context->HoldUpdates, AL_TRUE); - while(((updates=ReadRef(&context->UpdateCount))&1) != 0) + while((ATOMIC_LOAD(&context->UpdateCount, almemory_order_acquire)&1) != 0) althrd_yield(); UpdateListenerProps(context); |