Paul Vriens : ddraw/tests: Fix a test failure on VMware and VirtualBox on W2K and below.
Alexandre Julliard
julliard at winehq.org
Mon Feb 15 10:06:18 CST 2010
Module: wine
Branch: master
Commit: 22fc1fe366b99fa6b532e5bd1bfc3a975c9c8369
URL: http://source.winehq.org/git/wine.git/?a=commit;h=22fc1fe366b99fa6b532e5bd1bfc3a975c9c8369
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Mon Feb 15 14:39:21 2010 +0100
ddraw/tests: Fix a test failure on VMware and VirtualBox on W2K and below.
---
dlls/ddraw/tests/visual.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c
index 6d4cf2e..e5b81a1 100644
--- a/dlls/ddraw/tests/visual.c
+++ b/dlls/ddraw/tests/visual.c
@@ -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);
More information about the wine-cvs
mailing list