ddraw/tests: Accept broken testbot result for test_clear_rect_count().
This commit is contained in:
parent
2bab1f7250
commit
6418a489e0
|
@ -3212,7 +3212,8 @@ static void test_clear_rect_count(void)
|
|||
ok(SUCCEEDED(hr), "Failed to clear viewport, hr %#x.\n", hr);
|
||||
|
||||
color = get_surface_color(rt, 320, 240);
|
||||
ok(compare_color(color, 0x00ffffff, 1), "Got unexpected color 0x%08x.\n", color);
|
||||
ok(compare_color(color, 0x00ffffff, 1) || broken(compare_color(color, 0x000000ff, 1)),
|
||||
"Got unexpected color 0x%08x.\n", color);
|
||||
|
||||
IDirectDrawSurface_Release(rt);
|
||||
destroy_viewport(device, viewport);
|
||||
|
|
|
@ -3457,7 +3457,8 @@ static void test_clear_rect_count(void)
|
|||
ok(SUCCEEDED(hr), "Failed to clear viewport, hr %#x.\n", hr);
|
||||
|
||||
color = get_surface_color(rt, 320, 240);
|
||||
ok(compare_color(color, 0x00ffffff, 1), "Got unexpected color 0x%08x.\n", color);
|
||||
ok(compare_color(color, 0x00ffffff, 1) || broken(compare_color(color, 0x000000ff, 1)),
|
||||
"Got unexpected color 0x%08x.\n", color);
|
||||
|
||||
IDirectDrawSurface_Release(rt);
|
||||
destroy_viewport(device, viewport);
|
||||
|
|
|
@ -4321,7 +4321,8 @@ static void test_clear_rect_count(void)
|
|||
ok(SUCCEEDED(hr), "Failed to clear the viewport, hr %#x.\n", hr);
|
||||
|
||||
color = get_surface_color(rt, 320, 240);
|
||||
ok(compare_color(color, 0x00ffffff, 1), "Got unexpected color 0x%08x.\n", color);
|
||||
ok(compare_color(color, 0x00ffffff, 1) || broken(compare_color(color, 0x000000ff, 1)),
|
||||
"Got unexpected color 0x%08x.\n", color);
|
||||
|
||||
IDirect3DViewport3_Release(viewport);
|
||||
IDirectDrawSurface4_Release(rt);
|
||||
|
|
|
@ -3942,7 +3942,7 @@ static void test_clear_rect_count(void)
|
|||
ok(SUCCEEDED(hr), "Failed to clear render target, hr %#x.\n", hr);
|
||||
|
||||
color = get_surface_color(rt, 320, 240);
|
||||
ok(compare_color(color, 0x00ffffff, 1),
|
||||
ok(compare_color(color, 0x00ffffff, 1) || broken(compare_color(color, 0x00ff0000, 1)),
|
||||
"Clear with count = 0, rect != NULL has color %#08x.\n", color);
|
||||
|
||||
hr = IDirect3DDevice7_Clear(device, 0, NULL, D3DCLEAR_TARGET, 0x00ffffff, 1.0f, 0);
|
||||
|
|
Loading…
Reference in New Issue