[PATCH] d3dx9/tests: Remove useless cast to self
Michael Stefaniuc
mstefani at winehq.org
Fri Mar 1 14:08:25 CST 2019
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/d3dx9_36/tests/math.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index 0c3e001702..1b9e120f8d 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -2026,7 +2026,7 @@ static void D3DXVector2Test(void)
D3DXVec2TransformCoord(&gotvec, &u, &mat);
expect_vec2(&expectedvec, &gotvec, 1);
gotvec.x = u.x; gotvec.y = u.y;
- D3DXVec2TransformCoord(&gotvec, (D3DXVECTOR2 *)&gotvec, &mat);
+ D3DXVec2TransformCoord(&gotvec, &gotvec, &mat);
expect_vec2(&expectedvec, &gotvec, 1);
/*_______________D3DXVec2TransformNormal______________________*/
--
2.20.1
More information about the wine-devel
mailing list