Roderick Colenbrander : d3d9: Relax color matching in bumpmap test.
Alexandre Julliard
julliard at winehq.org
Fri Jan 2 08:25:43 CST 2009
Module: wine
Branch: master
Commit: a6d28bcc52627a122d6e4e65427efb9682d790a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6d28bcc52627a122d6e4e65427efb9682d790a9
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Wed Dec 31 19:11:53 2008 +0100
d3d9: Relax color matching in bumpmap test.
---
dlls/d3d9/tests/visual.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 9bcb42f..5574313 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -7937,7 +7937,7 @@ static void fixed_function_bumpmap_test(IDirect3DDevice9 *device)
* green: 0.5 * (0.25 * 2.0 + 0.1) = 0.5 * 0.6 = 0.3 = 0x4c
* green: 0.75 * (0.25 * 2.0 + 0.1) = 0.75 * 0.6 = 0.45 = 0x72
*/
- ok(color_match(color, 0x00994c72, 3), "bumpmap failed: Got color 0x%08x, expected 0x00994c72.\n", color);
+ ok(color_match(color, 0x00994c72, 5), "bumpmap failed: Got color 0x%08x, expected 0x00994c72.\n", color);
/* Check a result scale factor > 1.0 */
scale = 10;
More information about the wine-cvs
mailing list