From 7b537c795bd174b4b02418a37b377b4da5cfe266 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 17 Nov 2018 06:07:04 -0800 Subject: Don't pass the current thread to althrd_setname --- Alc/backends/dsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/backends/dsound.cpp') 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}; -- cgit v1.2.3