Francois Gouget : d3dx8: Fix the D3DXMatrixAffineTransformation() prototype .

Alexandre Julliard julliard at winehq.org
Tue Feb 5 06:34:42 CST 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Feb  5 00:03:55 2008 +0100

d3dx8: Fix the D3DXMatrixAffineTransformation() prototype.

---

 dlls/d3dx8/math.c   |    2 +-
 include/d3dx8math.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx8/math.c b/dlls/d3dx8/math.c
index 0446198..6573c68 100644
--- a/dlls/d3dx8/math.c
+++ b/dlls/d3dx8/math.c
@@ -59,7 +59,7 @@ D3DXCOLOR* WINAPI D3DXColorAdjustSaturation(D3DXCOLOR *pout, CONST D3DXCOLOR *pc
 
 /*_________________D3DXMatrix____________________*/
 
-D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, float scaling, D3DXVECTOR3 *rotationcenter, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation)
+D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, FLOAT scaling, CONST D3DXVECTOR3 *rotationcenter, CONST D3DXQUATERNION *rotation, CONST D3DXVECTOR3 *translation)
 {
     D3DXMATRIX m1, m2, m3, m4, m5, p1, p2, p3;
 
diff --git a/include/d3dx8math.h b/include/d3dx8math.h
index 755698a..66d8fea 100644
--- a/include/d3dx8math.h
+++ b/include/d3dx8math.h
@@ -271,7 +271,7 @@ extern "C" {
 D3DXCOLOR* WINAPI D3DXColorAdjustContrast(D3DXCOLOR *pout, CONST D3DXCOLOR *pc, FLOAT s);
 D3DXCOLOR* WINAPI D3DXColorAdjustSaturation(D3DXCOLOR *pout, CONST D3DXCOLOR *pc, FLOAT s);
 
-D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, float scaling, D3DXVECTOR3 *rotationcenter, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation);
+D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, FLOAT scaling, CONST D3DXVECTOR3 *rotationcenter, CONST D3DXQUATERNION *rotation, CONST D3DXVECTOR3 *translation);
 FLOAT WINAPI D3DXMatrixfDeterminant(CONST D3DXMATRIX *pm);
 D3DXMATRIX* WINAPI D3DXMatrixInverse(D3DXMATRIX *pout, FLOAT *pdeterminant, CONST D3DXMATRIX *pm);
 D3DXMATRIX* WINAPI D3DXMatrixLookAtLH(D3DXMATRIX *pout, CONST D3DXVECTOR3 *peye, CONST D3DXVECTOR3 *pat, CONST D3DXVECTOR3 *pup);




More information about the wine-cvs mailing list