[PATCH 2/2] Fix a test failure on VMware and VirtualBox on W2K and below
Paul Vriens
Paul.Vriens.Wine at gmail.com
Mon Feb 15 06:47:41 CST 2010
---
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..02e2d0c 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), /* VMware and VirtualBox on W2K and below */
+ "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);
--
1.6.2.5
--------------040108070708080306090506--
More information about the wine-patches
mailing list