mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01: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
@@ -131,7 +131,7 @@ CtrlRegisterList::CtrlRegisterList(HWND _wnd)
|
||||
: wnd(_wnd) {
|
||||
SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR)this);
|
||||
|
||||
const float fontScale = 1.0f / g_display.dpi_scale_real_y;
|
||||
const float fontScale = 1.0f / g_display.dpi_scale_real;
|
||||
rowHeight = g_Config.iFontHeight * fontScale;
|
||||
int charWidth = g_Config.iFontWidth * fontScale;
|
||||
font = CreateFont(rowHeight, charWidth, 0, 0,
|
||||
|
||||
Reference in new issue
Block a user