[PATCH 3/3] ddraw/tests: Port D3D1_ViewportClearTest to ddraw1.c.
Henri Verbeet
hverbeet at gmail.com
Mon Feb 16 08:24:22 CST 2015
On 15 February 2015 at 20:39, Stefan Dösinger <stefan at codeweavers.com> wrote:
> diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c
> + color = get_surface_color(rt, 85, 85);
> + ok(compare_color(color, 0x00ff0000, 1), "Got unexpected color 0x%08x.\n", color);
> + color = get_surface_color(rt, 95, 95);
> + ok(compare_color(color, 0x00ff0000, 1), "Got unexpected color 0x%08x.\n", color);
> + color = get_surface_color(rt, 105, 105);
> + ok(compare_color(color, 0x0000ff00, 1), "Got unexpected color 0x%08x.\n", color);
> + color = get_surface_color(rt, 115, 115);
> + ok(compare_color(color, 0x00ff0000, 1), "Got unexpected color 0x%08x.\n", color);
This fails for me on Windows:
ddraw1.c:6350: Test failed: Got unexpected color 0x0000ff00.
ddraw1: 4215 tests executed (0 marked as todo, 1 failure), 0 skipped.
The test seemed to pass when it was still in visual.c, for what it's worth.
More information about the wine-devel
mailing list