diff options
Diffstat (limited to 'Alc/backends/winmm.cpp')
-rw-r--r-- | Alc/backends/winmm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/winmm.cpp b/Alc/backends/winmm.cpp index 0fb85f66..1d0a8ecc 100644 --- a/Alc/backends/winmm.cpp +++ b/Alc/backends/winmm.cpp @@ -202,7 +202,7 @@ FORCE_ALIGN int ALCwinmmPlayback_mixerProc(ALCwinmmPlayback *self) ALCdevice *device = STATIC_CAST(ALCbackend, self)->mDevice; SetRTPriority(); - althrd_setname(althrd_current(), MIXER_THREAD_NAME); + althrd_setname(MIXER_THREAD_NAME); ALCwinmmPlayback_lock(self); while(!self->killNow.load(std::memory_order_acquire) && @@ -484,7 +484,7 @@ int ALCwinmmCapture_captureProc(ALCwinmmCapture *self) { ALCdevice *device = STATIC_CAST(ALCbackend, self)->mDevice; - althrd_setname(althrd_current(), RECORD_THREAD_NAME); + althrd_setname(RECORD_THREAD_NAME); ALCwinmmCapture_lock(self); while(!self->killNow.load(std::memory_order_acquire) && |