ddraw/tests: Remove some stray ok() calls.
Michael Stefaniuc
mstefani at redhat.de
Mon May 21 03:03:57 CDT 2012
---
dlls/ddraw/tests/d3d.c | 2 --
dlls/ddraw/tests/visual.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index d4a344d..bdac379 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -2849,9 +2849,7 @@ static void ComputeSphereVisibility(void)
ok(rc == D3D_OK, "Expected D3D_OK, received %x\n", rc);
ok(result[0] == 0x103d, "Expected 0x103d, got %x\n", result[0]);
- ok(rc == D3D_OK, "Expected D3D_OK, received %x\n", rc);
ok(result[1] == 0x3f, "Expected 0x3f, got %x\n", result[1]);
- ok(rc == D3D_OK, "Expected D3D_OK, received %x\n", rc);
ok(result[2] == 0x3f, "Expected 0x3f, got %x\n", result[2]);
view._11=1.0; view._12=0.0; view._13=0.0; view._14=0.0;
diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c
index 73d2b1a..1571b3a 100644
--- a/dlls/ddraw/tests/visual.c
+++ b/dlls/ddraw/tests/visual.c
@@ -560,8 +560,6 @@ static void fog_test(IDirect3DDevice7 *device)
untransformed_2, 4, Indices, 6, 0);
ok(hr == D3D_OK, "DrawIndexedPrimitive returned %08x\n", hr);
- /* transformed verts */
- ok( hr == D3D_OK, "SetFVF returned %08x\n", hr);
/* Transformed, vertex fog != NONE, pixel fog == NONE: Use specular color alpha component */
hr = IDirect3DDevice7_DrawIndexedPrimitive(device, D3DPT_TRIANGLELIST, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR,
transformed_1, 4, Indices, 6, 0);
--
1.7.7.6
More information about the wine-patches
mailing list