1
0
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:
Joshua Ashton 2019-06-19 17:35:42 +01:00 committed by Philip Rebohle
parent 0a35ae6fca
commit a4a4f5a822

View File

@ -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");