d3dx9/tests: Remove a D3DXPlaneNormalize test.

Matteo Bruni matteo.mystral at gmail.com
Sun Nov 21 08:19:00 CST 2010


-------------- next part --------------
From 51f1f81c23de9c9f87b097ef17e83d3e0567eafa Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Sat, 20 Nov 2010 17:13:15 +0100
Subject: d3dx9/tests: Remove a D3DXPlaneNormalize test.

It tested an edge case which behaves differently on Win64 for some strange
reasons (bug in native dll?) and it's not really useful anyways.
---
 dlls/d3dx9_36/tests/math.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index 6d192f9..e455a96 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -617,10 +617,6 @@ static void D3DXPlaneTest(void)
     expectedplane.a = 0.0f; expectedplane.b = 0.0f; expectedplane.c = 0.0f; expectedplane.d = 0.0f;
     D3DXPlaneNormalize(&gotplane, &nulplane);
     expect_plane(expectedplane, gotplane);
-    nulplane.a = 0.0; nulplane.b = 0.0f, nulplane.c = 0.0f; nulplane.d = 4.3f;
-    expectedplane.a = 0.0f; expectedplane.b = 0.0f; expectedplane.c = 0.0f; expectedplane.d = 0.0f;
-    D3DXPlaneNormalize(&gotplane, &nulplane);
-    expect_plane(expectedplane, gotplane);
 
 /*_______________D3DXPlaneTransform____________*/
     expectedplane.a = 49.0f; expectedplane.b = -98.0f; expectedplane.c = 55.0f; expectedplane.d = -165.0f;
-- 
1.7.2.2


More information about the wine-patches mailing list