d3d9: Relax color matching in bumpmap test.

This commit is contained in:
Roderick Colenbrander 2008-12-31 19:11:53 +01:00 committed by Alexandre Julliard
parent b8f17bac2b
commit a6d28bcc52
1 changed files with 1 additions and 1 deletions

View File

@ -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;