Gerald Pfeifer : d3d9/tests: Simplify condition in test_vshader_input().
Alexandre Julliard
julliard at winehq.org
Wed Jan 2 07:34:45 CST 2008
Module: wine
Branch: master
Commit: a77249ad140153f0ae023a07e99fd59e76405e57
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a77249ad140153f0ae023a07e99fd59e76405e57
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Tue Jan 1 12:36:36 2008 +0100
d3d9/tests: Simplify condition in test_vshader_input().
---
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 2700e73..4fae64b 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -5142,7 +5142,7 @@ void test_vshader_input(IDirect3DDevice9 *device)
r = (color & 0x00ff0000) >> 16;
g = (color & 0x0000ff00) >> 8;
b = (color & 0x000000ff) >> 0;
- ok(r >= 0xfe && r <= 0xff && g >= 0xfe && g <= 0xff && b >= 0x00 && b <= 0x01,
+ ok(r >= 0xfe && r <= 0xff && g >= 0xfe && g <= 0xff && b <= 0x01,
"Input test: Quad 4(color-float) returned color 0x%08x, expected 0x00FFFF00\n", color);
IDirect3DVertexShader9_Release(texcoord_color_shader);
More information about the wine-cvs
mailing list