[D3D] Fix small bug in execute buffers

Christian Costa titan.costa at wanadoo.fr
Mon Jun 9 08:44:45 CDT 2003


Changelog :
Fix matrix multiplication.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: d3dexecutebuffer.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/d3dexecutebuffer.c,v
retrieving revision 1.32
diff -u -r1.32 d3dexecutebuffer.c
--- d3dexecutebuffer.c	4 Jun 2003 23:31:40 -0000	1.32
+++ d3dexecutebuffer.c	9 Jun 2003 13:23:53 -0000
@@ -154,7 +154,7 @@
 		    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;
 		}



More information about the wine-patches mailing list