Commit 7bc4c607 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32/tests: Fix some test failures on Windows.

parent 898d8abc
...@@ -72,7 +72,7 @@ static void test_savedc_2(void) ...@@ -72,7 +72,7 @@ static void test_savedc_2(void)
ok(hdc != NULL, "GetDC failed\n"); ok(hdc != NULL, "GetDC failed\n");
ret = GetClipBox(hdc, &rc_clip); ret = GetClipBox(hdc, &rc_clip);
ok(ret == SIMPLEREGION, "GetClipBox returned %d instead of SIMPLEREGION\n", ret); ok(ret == SIMPLEREGION || broken(ret == COMPLEXREGION), "GetClipBox returned %d instead of SIMPLEREGION\n", ret);
ret = GetClipRgn(hdc, hrgn); ret = GetClipRgn(hdc, hrgn);
ok(ret == 0, "GetClipRgn returned %d instead of 0\n", ret); ok(ret == 0, "GetClipRgn returned %d instead of 0\n", ret);
ret = GetRgnBox(hrgn, &rc); ret = GetRgnBox(hrgn, &rc);
...@@ -105,7 +105,7 @@ todo_wine ...@@ -105,7 +105,7 @@ todo_wine
ok(ret == SIMPLEREGION, "IntersectClipRect returned %d instead of SIMPLEREGION\n", ret); ok(ret == SIMPLEREGION, "IntersectClipRect returned %d instead of SIMPLEREGION\n", ret);
ret = GetClipBox(hdc, &rc_clip); ret = GetClipBox(hdc, &rc_clip);
ok(ret == SIMPLEREGION, "GetClipBox returned %d instead of SIMPLEREGION\n", ret); ok(ret == SIMPLEREGION || broken(ret == COMPLEXREGION), "GetClipBox returned %d instead of SIMPLEREGION\n", ret);
SetRect(&rc, 0, 0, 50, 50); SetRect(&rc, 0, 0, 50, 50);
ok(EqualRect(&rc, &rc_clip), "rects are not equal\n"); ok(EqualRect(&rc, &rc_clip), "rects are not equal\n");
...@@ -113,7 +113,7 @@ todo_wine ...@@ -113,7 +113,7 @@ todo_wine
ok(ret, "ret = %d\n", ret); ok(ret, "ret = %d\n", ret);
ret = GetClipBox(hdc, &rc_clip); ret = GetClipBox(hdc, &rc_clip);
ok(ret == SIMPLEREGION, "GetClipBox returned %d instead of SIMPLEREGION\n", ret); ok(ret == SIMPLEREGION || broken(ret == COMPLEXREGION), "GetClipBox returned %d instead of SIMPLEREGION\n", ret);
SetRect(&rc, 0, 0, 100, 100); SetRect(&rc, 0, 0, 100, 100);
ok(EqualRect(&rc, &rc_clip), "rects are not equal\n"); ok(EqualRect(&rc, &rc_clip), "rects are not equal\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment