Commit e5f149a8 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9/tests: Radeon GPUs don't draw from sysmem textures.

parent 871f333d
......@@ -19782,7 +19782,9 @@ static void add_dirty_rect_test(void)
ok(hr == S_OK, "Failed to set texture, hr %#lx.\n", hr);
add_dirty_rect_test_draw(device);
color = getPixelColor(device, 320, 240);
ok(color_match(color, 0x000000ff, 1), "Got unexpected color 0x%08x.\n", color);
/* Radeon GPUs read zero from sysmem textures. */
ok(color_match(color, 0x000000ff, 1) || broken(color_match(color, 0x00000000, 1)),
"Got unexpected color 0x%08x.\n", color);
/* Tests with managed textures. */
fill_surface(surface_managed0, 0x00ff0000, 0);
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