mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Get rid of remains of support for non-square screen DPIs
This commit is contained in:
1 parent
b4ca0984d1
commit
f206ed95eb
30 files changed
+133
-147
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user