aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/alcmain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h
index 1560b831..9293596d 100644
--- a/alc/alcmain.h
+++ b/alc/alcmain.h
@@ -360,8 +360,8 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> {
ALuint waitForMix() const noexcept
{
ALuint refcount;
- while((refcount=MixCount.load(std::memory_order_acquire))&1)
- std::this_thread::yield();
+ while((refcount=MixCount.load(std::memory_order_acquire))&1) {
+ }
return refcount;
}