Fixed the Win32 version of plat_get_dpi().

This commit is contained in:
OBattler
2023-08-13 18:29:02 +02:00
parent 976fe24ba1
commit 5f8ef51d6f

View File

@@ -1290,7 +1290,7 @@ endblit(void)
double
plat_get_dpi(void)
{
UINT dpi = GetDeviceCaps(dc, LOGPIXELSX);
UINT dpi = win_get_dpi(hwndRender);
return ((double) dpi) / 96.0;
}