mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
[Windows] Drop support for Windows 7/8/8.1.
This commit is contained in:
@@ -45,7 +45,7 @@ static Error set_name(const String &p_name) {
|
||||
HANDLE hThread = GetCurrentThread();
|
||||
HRESULT res = E_FAIL;
|
||||
if (w10_SetThreadDescription) {
|
||||
res = w10_SetThreadDescription(hThread, (LPCWSTR)p_name.utf16().get_data());
|
||||
res = w10_SetThreadDescription(hThread, (LPCWSTR)p_name.utf16().get_data()); // Windows 10 Redstone (1607) only.
|
||||
}
|
||||
return SUCCEEDED(res) ? OK : ERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user