Properly define openfl_dpi_aware in Project.hxp

This commit is contained in:
KarimAkra
2025-04-19 12:21:31 +03:00
parent 2ac0627063
commit 2ae503cfec
+2 -2
View File
@@ -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");
}
}