From 43c269a126f679b7db8527925390d28852f086bc Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 18 Mar 2023 20:38:56 +0100 Subject: [PATCH] now compatible with win7 --- buildnumber.txt | 2 +- source/native/WinAPI.hx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildnumber.txt b/buildnumber.txt index dcdd9eee..83e43906 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -2602 \ No newline at end of file +2605 \ No newline at end of file diff --git a/source/native/WinAPI.hx b/source/native/WinAPI.hx index aa8ee635..673682cc 100644 --- a/source/native/WinAPI.hx +++ b/source/native/WinAPI.hx @@ -9,7 +9,6 @@ import funkin.windows.WindowsAPI.MessageBoxIcon; - ') @@ -177,7 +176,8 @@ class WinAPI { } @:functionCode(' - SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE); + SetProcessDPIAware(); + // SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE); ') public static function registerAsDPICompatible() {} }