mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-30 13:24:10 +01:00
[util] Correct return value of SetThreadDescription
This commit is contained in:
parent
0a35ae6fca
commit
a4a4f5a822
@ -29,7 +29,7 @@ namespace dxvk::env {
|
||||
|
||||
|
||||
void setThreadName(const std::string& name) {
|
||||
using SetThreadDescriptionProc = void (WINAPI *) (HANDLE, PCWSTR);
|
||||
using SetThreadDescriptionProc = HRESULT (WINAPI *) (HANDLE, PCWSTR);
|
||||
|
||||
HMODULE module = ::GetModuleHandleW(L"kernel32.dll");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user