"Detlef Riekenberg" <[EMAIL PROTECTED]> 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.


Reply via email to