mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
SDL_wasapi_win32.c (WASAPI_PlatformThreadInit): use L instead of TEXT()
because AvSetMmThreadCharacteristicsW specifically accepts WCHAR* input cf. bug #5435.
This commit is contained in:
parent
01a2f27679
commit
ed39f2f3f9
@ -291,7 +291,7 @@ WASAPI_PlatformThreadInit(_THIS)
|
|||||||
/* Set this thread to very high "Pro Audio" priority. */
|
/* Set this thread to very high "Pro Audio" priority. */
|
||||||
if (pAvSetMmThreadCharacteristicsW) {
|
if (pAvSetMmThreadCharacteristicsW) {
|
||||||
DWORD idx = 0;
|
DWORD idx = 0;
|
||||||
this->hidden->task = pAvSetMmThreadCharacteristicsW(TEXT("Pro Audio"), &idx);
|
this->hidden->task = pAvSetMmThreadCharacteristicsW(L"Pro Audio", &idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user