ddraw/tests: Fix a test failure on VMware and VirtualBox on W2K and below.

This commit is contained in:
Paul Vriens 2010-02-15 14:39:21 +01:00 committed by Alexandre Julliard
parent c1464f8ab9
commit 22fc1fe366
1 changed files with 3 additions and 1 deletions

View File

@ -2797,7 +2797,9 @@ static void depth_clamp_test(IDirect3DDevice7 *device)
color = getPixelColor(device, 75, 75);
ok(color_match(color, 0x00ffffff, 1), "color 0x%08x.\n", color);
color = getPixelColor(device, 150, 150);
ok(color_match(color, 0x00ffffff, 1), "color 0x%08x.\n", color);
ok(color_match(color, 0x00ffffff, 1) ||
broken(color == 0x00f91414), /* Reference rasterizer */
"color 0x%08x.\n", color);
color = getPixelColor(device, 320, 240);
ok(color_match(color, 0x00002b7f, 1), "color 0x%08x.\n", color);
color = getPixelColor(device, 320, 330);