Revert "Get rid of remains of support for non-square screen DPIs"

This reverts commit f206ed95eb.
This commit is contained in:
Henrik Rydgård
2025-05-21 13:46:22 +02:00
parent 53f8c32309
commit 09e067c6e1
31 changed files with 151 additions and 132 deletions
+4 -4
View File
@@ -50,10 +50,10 @@ enum Mode {
static Bounds FRectToBounds(FRect rc) {
Bounds b;
b.x = rc.x * g_display.dpi_scale;
b.y = rc.y * g_display.dpi_scale;
b.w = rc.w * g_display.dpi_scale;
b.h = rc.h * g_display.dpi_scale;
b.x = rc.x * g_display.dpi_scale_x;
b.y = rc.y * g_display.dpi_scale_y;
b.w = rc.w * g_display.dpi_scale_x;
b.h = rc.h * g_display.dpi_scale_y;
return b;
}