summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2026-04-07 16:32:35 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2026-04-07 16:32:53 +0700
commit9673d67a073116a40742d8872f8db4e1c6226cb4 (patch)
tree4db240353d6152ae097f81e4da9b20f6d3b9de25 /scripts
parente0ce425fba523109189336882f70980783a75b6c (diff)
osd: target Windows 10 API
* remove MODERN_WIN_API flag
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/osd/modules.lua9
-rw-r--r--scripts/src/osd/windows_cfg.lua17
2 files changed, 2 insertions, 24 deletions
diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua
index 21d80152a63..b7fe831439b 100644
--- a/scripts/src/osd/modules.lua
+++ b/scripts/src/osd/modules.lua
@@ -710,15 +710,6 @@ if not _OPTIONS["NO_USE_PIPEWIRE"] then
end
newoption {
- trigger = "MODERN_WIN_API",
- description = "Use Modern Windows APIs",
- allowed = {
- { "0", "Use classic Windows APIs - allows support for XP and later" },
- { "1", "Use Modern Windows APIs - support for Windows 8.1 and later" },
- },
-}
-
-newoption {
trigger = "USE_QTDEBUG",
description = "Use QT debugger",
allowed = {
diff --git a/scripts/src/osd/windows_cfg.lua b/scripts/src/osd/windows_cfg.lua
index 2eb8bae410a..0e4d2014f32 100644
--- a/scripts/src/osd/windows_cfg.lua
+++ b/scripts/src/osd/windows_cfg.lua
@@ -16,23 +16,10 @@ configuration { "vs*" }
configuration { }
-if not _OPTIONS["MODERN_WIN_API"] then
- _OPTIONS["MODERN_WIN_API"] = "0"
-end
-
-if _OPTIONS["MODERN_WIN_API"]=="1" then
- defines {
- "WINVER=0x0602",
- "_WIN32_WINNT=0x0602",
- "NTDDI_VERSION=0x06030000",
- "MODERN_WIN_API",
- }
-else
defines {
- "_WIN32_WINNT=0x0602",
- "NTDDI_VERSION=0x06000000",
+ "WINVER=0x0A00",
+ "_WIN32_WINNT=0x0A00",
}
-end
if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]=="1" then
defines {