ddraw/tests: Accept broken testbot result for test_coop_level_d3d_state().

This commit is contained in:
Matteo Bruni 2015-05-21 00:24:43 +02:00 committed by Alexandre Julliard
parent 51a08f8c8f
commit 30a1fffcc7
2 changed files with 4 additions and 2 deletions

View File

@ -883,7 +883,8 @@ static void test_coop_level_d3d_state(void)
hr = IDirect3DViewport_Clear(viewport, 1, &clear_rect, D3DCLEAR_TARGET);
ok(SUCCEEDED(hr), "Failed to clear viewport, hr %#x.\n", hr);
color = get_surface_color(rt, 320, 240);
ok(compare_color(color, 0x0000ff00, 1), "Got unexpected color 0x%08x.\n", color);
ok(compare_color(color, 0x0000ff00, 1) || broken(compare_color(color, 0x00000000, 1)),
"Got unexpected color 0x%08x.\n", color);
destroy_viewport(device, viewport);
destroy_material(background);

View File

@ -810,7 +810,8 @@ static void test_coop_level_d3d_state(void)
hr = IDirect3DViewport2_Clear(viewport, 1, &clear_rect, D3DCLEAR_TARGET);
ok(SUCCEEDED(hr), "Failed to clear viewport, hr %#x.\n", hr);
color = get_surface_color(rt, 320, 240);
ok(compare_color(color, 0x0000ff00, 1), "Got unexpected color 0x%08x.\n", color);
ok(compare_color(color, 0x0000ff00, 1) || broken(compare_color(color, 0x00000000, 1)),
"Got unexpected color 0x%08x.\n", color);
destroy_viewport(device, viewport);
destroy_material(background);