Commit 3b4b61f0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dx9: Avoid LPD3DXMATRIX.

parent a2e1a3d4
...@@ -285,7 +285,7 @@ static HRESULT WINAPI ID3DXSkinInfoImpl_SetBoneOffsetMatrix(ID3DXSkinInfo *iface ...@@ -285,7 +285,7 @@ static HRESULT WINAPI ID3DXSkinInfoImpl_SetBoneOffsetMatrix(ID3DXSkinInfo *iface
return D3D_OK; return D3D_OK;
} }
static LPD3DXMATRIX WINAPI ID3DXSkinInfoImpl_GetBoneOffsetMatrix(ID3DXSkinInfo *iface, DWORD bone_num) static D3DXMATRIX * WINAPI ID3DXSkinInfoImpl_GetBoneOffsetMatrix(ID3DXSkinInfo *iface, DWORD bone_num)
{ {
ID3DXSkinInfoImpl *This = impl_from_ID3DXSkinInfo(iface); ID3DXSkinInfoImpl *This = impl_from_ID3DXSkinInfo(iface);
......
...@@ -234,7 +234,7 @@ static void D3DXFresnelTest(void) ...@@ -234,7 +234,7 @@ static void D3DXFresnelTest(void)
static void D3DXMatrixTest(void) static void D3DXMatrixTest(void)
{ {
D3DXMATRIX expectedmat, gotmat, mat, mat2, mat3; D3DXMATRIX expectedmat, gotmat, mat, mat2, mat3;
LPD3DXMATRIX funcpointer; D3DXMATRIX *funcpointer;
D3DXPLANE plane; D3DXPLANE plane;
D3DXQUATERNION q, r; D3DXQUATERNION q, r;
D3DXVECTOR3 at, axis, eye, last; D3DXVECTOR3 at, axis, eye, last;
......
...@@ -529,7 +529,7 @@ DECLARE_INTERFACE_(ID3DXSkinInfo, IUnknown) ...@@ -529,7 +529,7 @@ DECLARE_INTERFACE_(ID3DXSkinInfo, IUnknown)
STDMETHOD(SetBoneName)(THIS_ DWORD bone, LPCSTR name) PURE; STDMETHOD(SetBoneName)(THIS_ DWORD bone, LPCSTR name) PURE;
STDMETHOD_(LPCSTR, GetBoneName)(THIS_ DWORD bone) PURE; STDMETHOD_(LPCSTR, GetBoneName)(THIS_ DWORD bone) PURE;
STDMETHOD(SetBoneOffsetMatrix)(THIS_ DWORD bone, CONST D3DXMATRIX* bone_transform) PURE; STDMETHOD(SetBoneOffsetMatrix)(THIS_ DWORD bone, CONST D3DXMATRIX* bone_transform) PURE;
STDMETHOD_(LPD3DXMATRIX, GetBoneOffsetMatrix)(THIS_ DWORD bone) PURE; STDMETHOD_(D3DXMATRIX *, GetBoneOffsetMatrix)(THIS_ DWORD bone) PURE;
STDMETHOD(Clone)(THIS_ ID3DXSkinInfo **skin_info) PURE; STDMETHOD(Clone)(THIS_ ID3DXSkinInfo **skin_info) PURE;
STDMETHOD(Remap)(THIS_ DWORD num_vertices, DWORD* vertex_remap) PURE; STDMETHOD(Remap)(THIS_ DWORD num_vertices, DWORD* vertex_remap) PURE;
STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE; STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment