12 Oct
2008
12 Oct
'08
9:06 p.m.
"Detlef Riekenberg" <wine.dev(a)web.de> wrote:
@@ -101,7 +101,9 @@ static void test_world_transform(void)
if (is_win9x) { - expect_viewport_ext(hdc, 96, 96); + DWORD dpi; + dpi = GetDeviceCaps(hdc, LOGPIXELSY); + expect_viewport_ext(hdc, dpi, dpi);
This is still not correct, not all displays have the same resolution in all dimensions. The below one should be slightly better: expect_viewport_ext(hdc, GetDeviceCaps(hdc, LOGPIXELSX), GetDeviceCaps(hdc, LOGPIXELSY)); -- Dmitry.