[PATCH] d3dx9: Remove unnecessary call to D3DXMatrixTranspose.

Connor McAdams cmcadams at codeweavers.com
Thu Jun 3 10:57:00 CDT 2021


Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
---
 dlls/d3dx9_36/shader.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/d3dx9_36/shader.c b/dlls/d3dx9_36/shader.c
index 376b97f5ea6..7033972af36 100644
--- a/dlls/d3dx9_36/shader.c
+++ b/dlls/d3dx9_36/shader.c
@@ -1112,7 +1112,6 @@ static UINT set(struct ID3DXConstantTableImpl *table, IDirect3DDevice9 *device,
             if (inclass == D3DXPC_MATRIX_ROWS && desc->RegisterSet == D3DXRS_BOOL)
             {
                 D3DXMATRIX mat, *m, min;
-                D3DXMatrixTranspose(&mat, &min);
 
                 if (is_pointer)
                     min = *(D3DXMATRIX *)(indata[index / 16]);
-- 
2.25.1




More information about the wine-devel mailing list