Module: wine Branch: master Commit: e5f149a81a8fc07219160d95fae8a46406dcbb89 URL: https://gitlab.winehq.org/wine/wine/-/commit/e5f149a81a8fc07219160d95fae8a46... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Wed Sep 7 12:52:17 2022 +0300 d3d9/tests: Radeon GPUs don't draw from sysmem textures. --- dlls/d3d9/tests/visual.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index 2c83965f0cb..f82bb1e921c 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -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);