Stefan Dösinger : d3d9/tests: Be less picky about X8L8V8U8 precision.
Alexandre Julliard
julliard at winehq.org
Tue Feb 5 06:35:03 CST 2008
Module: wine
Branch: master
Commit: 334e1600f270ac6faa2c92e59a77ecfef3e51562
URL: http://source.winehq.org/git/wine.git/?a=commit;h=334e1600f270ac6faa2c92e59a77ecfef3e51562
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri Feb 1 02:29:32 2008 +0100
d3d9/tests: Be less picky about X8L8V8U8 precision.
---
dlls/d3d9/tests/visual.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 7277e37..9f9e54f 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -3079,7 +3079,8 @@ static void x8l8v8u8_test(IDirect3DDevice9 *device)
hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %s\n", DXGetErrorString9(hr));
color = getPixelColor(device, 578, 430);
- ok(color == 0x008262ca || color == 0x008363ca, "D3DFMT_X8L8V8U8 = 0x112131ca returns color %08x, expected 0x008262ca\n", color);
+ ok(color == 0x008262ca || color == 0x008363ca || color == 0x008362ca,
+ "D3DFMT_X8L8V8U8 = 0x112131ca returns color %08x, expected 0x008262ca\n", color);
hr = IDirect3DDevice9_SetPixelShader(device, shader2);
ok(hr == D3D_OK, "IDirect3DDevice9_SetPixelShader failed (%08x)\n", hr);
More information about the wine-cvs
mailing list