diff options
author | Chris Robinson <[email protected]> | 2018-11-17 06:07:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-17 06:07:04 -0800 |
commit | 7b537c795bd174b4b02418a37b377b4da5cfe266 (patch) | |
tree | b0e7485d4ae66518194bd03128f56ffda1c199ec /Alc/backends/opensl.cpp | |
parent | 1fae8c16a8c0634ffa44b4a2e25f3be4899ea7e2 (diff) |
Don't pass the current thread to althrd_setname
Diffstat (limited to 'Alc/backends/opensl.cpp')
-rw-r--r-- | Alc/backends/opensl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/opensl.cpp b/Alc/backends/opensl.cpp index e8a575c8..1c85c9d5 100644 --- a/Alc/backends/opensl.cpp +++ b/Alc/backends/opensl.cpp @@ -244,7 +244,7 @@ static int ALCopenslPlayback_mixerProc(void *arg) SLresult result; SetRTPriority(); - althrd_setname(althrd_current(), MIXER_THREAD_NAME); + althrd_setname(MIXER_THREAD_NAME); result = VCALL(self->mBufferQueueObj,GetInterface)(SL_IID_ANDROIDSIMPLEBUFFERQUEUE, &bufferQueue); |