Stefan Dösinger : ddraw: Read the world matrix correctly.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 5 13:31:24 CDT 2007


Module: wine
Branch: master
Commit: 125b9b7dcfbe87f7e1818ea0fdf57ce1e791528f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=125b9b7dcfbe87f7e1818ea0fdf57ce1e791528f

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Sun Jul  1 20:22:15 2007 +0200

ddraw: Read the world matrix correctly.

---

 dlls/ddraw/executebuffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ddraw/executebuffer.c b/dlls/ddraw/executebuffer.c
index fa51c39..ff0bbdb 100644
--- a/dlls/ddraw/executebuffer.c
+++ b/dlls/ddraw/executebuffer.c
@@ -339,7 +339,7 @@ IDirect3DExecuteBufferImpl_Execute(IDirect3DExecuteBufferImpl *This,
                                             (WINED3DMATRIX*) &proj_mat);
 
                 IWineD3DDevice_GetTransform(lpDevice->wineD3DDevice,
-                                            D3DTRANSFORMSTATE_WORLD,
+                                            WINED3DTS_WORLDMATRIX(0),
                                             (WINED3DMATRIX*) &world_mat);
 
 		for (i = 0; i < count; i++) {




More information about the wine-cvs mailing list