From 0153a911e4b4cad47e39407c70f82dcc747f6670 Mon Sep 17 00:00:00 2001
From: Christian Costa <titan.costa@wanadoo.fr>
Date: Fri, 13 Jun 2003 18:54:37 +0000
Subject: [PATCH] Fix matrix multiplication.

---
 dlls/ddraw/d3dexecutebuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ddraw/d3dexecutebuffer.c b/dlls/ddraw/d3dexecutebuffer.c
index 5e389eff0e9..c910f1c9d27 100644
--- a/dlls/ddraw/d3dexecutebuffer.c
+++ b/dlls/ddraw/d3dexecutebuffer.c
@@ -154,7 +154,7 @@ static void execute(IDirect3DExecuteBufferImpl *This,
 		    TRACE("  Dest : %08lx  Src1 : %08lx  Src2 : %08lx\n",
 			  ci->hDestMatrix, ci->hSrcMatrix1, ci->hSrcMatrix2);
 		    
-                    multiply_matrix(a,b,c);
+                    multiply_matrix(a,c,b);
 
 		    instr += size;
 		}
-- 
GitLab