Changelog: Trace after the matrix has been copied, not before -- Lionel Ulmer - http://www.bbrox.org/
--- ../wine_base/dlls/ddraw/d3ddevice/main.c Wed Feb 5 23:42:06 2003 +++ dlls/ddraw/d3ddevice/main.c Wed Feb 5 23:41:35 2003 @@ -412,27 +412,27 @@ switch (dtstTransformStateType) { case D3DTRANSFORMSTATE_WORLD: { + memcpy(lpD3DMatrix, This->world_mat, 16 * sizeof(D3DVALUE)); if (TRACE_ON(ddraw)) { TRACE(" returning D3DTRANSFORMSTATE_WORLD :\n"); dump_D3DMATRIX(lpD3DMatrix); } - memcpy(lpD3DMatrix, This->world_mat, 16 * sizeof(D3DVALUE)); } break; case D3DTRANSFORMSTATE_VIEW: { + memcpy(lpD3DMatrix, This->view_mat, 16 * sizeof(D3DVALUE)); if (TRACE_ON(ddraw)) { TRACE(" returning D3DTRANSFORMSTATE_VIEW :\n"); dump_D3DMATRIX(lpD3DMatrix); } - memcpy(lpD3DMatrix, This->view_mat, 16 * sizeof(D3DVALUE)); } break; case D3DTRANSFORMSTATE_PROJECTION: { + memcpy(lpD3DMatrix, This->proj_mat, 16 * sizeof(D3DVALUE)); if (TRACE_ON(ddraw)) { TRACE(" returning D3DTRANSFORMSTATE_PROJECTION :\n"); dump_D3DMATRIX(lpD3DMatrix); } - memcpy(lpD3DMatrix, This->proj_mat, 16 * sizeof(D3DVALUE)); } break; default: