Fixed the Win32 version of plat_get_dpi().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user