From 2ae503cfece9d41a7c7d88e2b40a33e83fa64e8d Mon Sep 17 00:00:00 2001 From: KarimAkra Date: Sat, 19 Apr 2025 12:21:31 +0300 Subject: [PATCH] Properly define `openfl_dpi_aware` in Project.hxp --- project.hxp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project.hxp b/project.hxp index e138b2a52..f7e9b83d9 100644 --- a/project.hxp +++ b/project.hxp @@ -713,6 +713,8 @@ class Project extends HXProject { // Cleaner looking compiler errors. setHaxedef("message.reporting", "pretty"); + setHaxedef("openfl_dpi_aware"); + if (FEATURE_DEBUG_TRACY.isEnabled(this)) { setHaxedef("HXCPP_TELEMETRY"); // Enable telemetry setHaxedef("HXCPP_TRACY"); // Enable Tracy telemetry @@ -721,8 +723,6 @@ class Project extends HXProject { // setHaxedef("HXCPP_TRACY_INCLUDE_CALLSTACKS"); // Inspect callstacks per zone, inflating telemetry data setHaxedef("absolute-paths"); // Fix source locations so Tracy can see them - - setHaxedef("openfl_dpi_aware"); } }