Henri Verbeet : d3d8/tests: Clear with colors that are more obviously different from the expected value in test_rcp_rsq ().

Alexandre Julliard julliard at winehq.org
Tue Apr 6 11:20:06 CDT 2010


Module: wine
Branch: master
Commit: ae623815ee963b330774939d2a9e550400d59720
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ae623815ee963b330774939d2a9e550400d59720

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Apr  5 21:10:14 2010 +0200

d3d8/tests: Clear with colors that are more obviously different from the expected value in test_rcp_rsq().

---

 dlls/d3d8/tests/visual.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index 1527176..dd4d372 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -576,7 +576,7 @@ static void test_rcp_rsq(IDirect3DDevice8 *device)
         D3DVSD_END()
     };
 
-    hr = IDirect3DDevice8_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, 0xff800080, 0.0, 0);
+    hr = IDirect3DDevice8_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, 0xff336699, 0.0f, 0);
     ok(hr == D3D_OK, "IDirect3DDevice8_Clear failed with %#08x\n", hr);
 
     hr = IDirect3DDevice8_CreateVertexShader(device, decl, rcp_test, &shader, 0);
@@ -606,7 +606,7 @@ static void test_rcp_rsq(IDirect3DDevice8 *device)
     IDirect3DDevice8_SetVertexShader(device, 0);
     IDirect3DDevice8_DeleteVertexShader(device, shader);
 
-    hr = IDirect3DDevice8_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, 0xff800080, 0.0, 0);
+    hr = IDirect3DDevice8_Clear(device, 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, 0xff996633, 0.0f, 0);
     ok(hr == D3D_OK, "IDirect3DDevice8_Clear failed with %#08x\n", hr);
 
     hr = IDirect3DDevice8_CreateVertexShader(device, decl, rsq_test, &shader, 0);




More information about the wine-cvs mailing list