On Windows 11, start defaulting to Vulkan.

This commit is contained in:
Henrik Rydgård committed 2025-06-10 21:24:31 +02:00
1 parent eb863ae671
commit fa04337654
4 files changed
+11 -1

No files matched your search

+4
View File
@@ -109,6 +109,10 @@ bool IsWin8OrHigher() {
return DoesVersionMatchWindows(6, 2, 0, 0, 0, true);
}
bool IsWin11OrHigher() {
return DoesVersionMatchWindows(10, 0, 0, 0, 22000, true);
}
std::string GetWindowsVersion() {
std::vector<std::pair<std::string, WindowsReleaseInfo>> windowsReleases = {
/* { "Preview text", { major, minor, spMajor, spMinor, build, greater } }, */