aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/dsound.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-17 06:07:04 -0800
committerChris Robinson <[email protected]>2018-11-17 06:07:04 -0800
commit7b537c795bd174b4b02418a37b377b4da5cfe266 (patch)
treeb0e7485d4ae66518194bd03128f56ffda1c199ec /Alc/backends/dsound.cpp
parent1fae8c16a8c0634ffa44b4a2e25f3be4899ea7e2 (diff)
Don't pass the current thread to althrd_setname
Diffstat (limited to 'Alc/backends/dsound.cpp')
-rw-r--r--Alc/backends/dsound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/dsound.cpp b/Alc/backends/dsound.cpp
index 34d7dc23..a52bb17c 100644
--- a/Alc/backends/dsound.cpp
+++ b/Alc/backends/dsound.cpp
@@ -249,7 +249,7 @@ FORCE_ALIGN int ALCdsoundPlayback_mixerProc(ALCdsoundPlayback *self)
ALCdevice *device = STATIC_CAST(ALCbackend, self)->mDevice;
SetRTPriority();
- althrd_setname(althrd_current(), MIXER_THREAD_NAME);
+ althrd_setname(MIXER_THREAD_NAME);
IDirectSoundBuffer *const Buffer{self->Buffer};