mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-22 03:11:36 +00:00
Add Windows 11 detection
This commit is contained in:
parent
ed36ee70e5
commit
928a68d884
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void I_DetectOS(void)
|
||||||
}
|
}
|
||||||
else if (info.dwMajorVersion == 10)
|
else if (info.dwMajorVersion == 10)
|
||||||
{
|
{
|
||||||
osname = (info.wProductType == VER_NT_WORKSTATION) ? "10 (or higher)" : "Server 2016 (or higher)";
|
osname = (info.wProductType == VER_NT_WORKSTATION) ? (info.dwBuildNumber >= 22000 ? "11 (or higher)" : "10") : "Server 2016 (or higher)";
|
||||||
sys_ostype = 3; // modern OS
|
sys_ostype = 3; // modern OS
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue