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

This commit is contained in:
Henrik Rydgård committed 2025-02-20 11:14:26 -06:00
1 parent b4ca0984d1
commit f206ed95eb
30 files changed
+133 -147

No files matched your search

+2 -2
View File
@@ -53,8 +53,8 @@ bool TouchInputHandler::GetTouchPoint(HWND hWnd, const TOUCHINPUT &input, float
point.x = (LONG)(TOUCH_COORD_TO_PIXEL(input.x));
point.y = (LONG)(TOUCH_COORD_TO_PIXEL(input.y));
if (ScreenToClient(hWnd, &point)) {
x = point.x * g_display.dpi_scale_x;
y = point.y * g_display.dpi_scale_y;
x = point.x * g_display.dpi_scale;
y = point.y * g_display.dpi_scale;
return true;
}