Commit e1fefd57 authored by David Adam's avatar David Adam Committed by Alexandre Julliard

d3dx9_36/test: Remove an unconsistent test.

parent 59158fb2
...@@ -84,11 +84,6 @@ HRESULT WINAPI D3DXMatrixDecompose(D3DXVECTOR3 *poutscale, D3DXQUATERNION *poutr ...@@ -84,11 +84,6 @@ HRESULT WINAPI D3DXMatrixDecompose(D3DXVECTOR3 *poutscale, D3DXQUATERNION *poutr
D3DXMATRIX normalized; D3DXMATRIX normalized;
D3DXVECTOR3 vec; D3DXVECTOR3 vec;
if (!pm)
{
return D3DERR_INVALIDCALL;
}
/*Compute the scaling part.*/ /*Compute the scaling part.*/
vec.x=pm->u.m[0][0]; vec.x=pm->u.m[0][0];
vec.y=pm->u.m[0][1]; vec.y=pm->u.m[0][1];
......
...@@ -578,11 +578,6 @@ static void test_Matrix_Decompose(void) ...@@ -578,11 +578,6 @@ static void test_Matrix_Decompose(void)
hr = D3DXMatrixDecompose(&got_scale, &got_rotation, &got_translation, &pm); hr = D3DXMatrixDecompose(&got_scale, &got_rotation, &got_translation, &pm);
ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %x\n", hr); ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %x\n", hr);
/*___________*/
hr = D3DXMatrixDecompose(&got_scale, &got_rotation, &got_translation, NULL);
ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %x\n", hr);
} }
static void test_Matrix_Transformation2D(void) static void test_Matrix_Transformation2D(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment