From 3eac8afba505b3e1f98f1a62606b54e532ab5a3a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 29 Oct 2008 16:34:21 +0100 Subject: [PATCH] d3dx8: Correct some ID3DXMatrixStack prototypes. --- dlls/d3dx8/math.c | 10 +++++----- include/d3dx8math.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dlls/d3dx8/math.c b/dlls/d3dx8/math.c index 58f81668dfd..54a17c2af69 100644 --- a/dlls/d3dx8/math.c +++ b/dlls/d3dx8/math.c @@ -643,21 +643,21 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_LoadIdentity(ID3DXMatrixStack *iface) return E_NOTIMPL; } -static HRESULT WINAPI ID3DXMatrixStackImpl_LoadMatrix(ID3DXMatrixStack *iface, LPD3DXMATRIX pm) +static HRESULT WINAPI ID3DXMatrixStackImpl_LoadMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm) { ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; FIXME("(%p) : stub\n",This); return E_NOTIMPL; } -static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, LPD3DXMATRIX pm) +static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm) { ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; FIXME("(%p) : stub\n",This); return E_NOTIMPL; } -static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrixLocal(ID3DXMatrixStack *iface, LPD3DXMATRIX pm) +static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrixLocal(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm) { ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; FIXME("(%p) : stub\n",This); @@ -678,14 +678,14 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_Push(ID3DXMatrixStack *iface) return E_NOTIMPL; } -static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxis(ID3DXMatrixStack *iface, LPD3DXVECTOR3 pv, FLOAT angle) +static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxis(ID3DXMatrixStack *iface, CONST D3DXVECTOR3 *pv, FLOAT angle) { ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; FIXME("(%p) : stub\n",This); return E_NOTIMPL; } -static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxisLocal(ID3DXMatrixStack *iface, LPD3DXVECTOR3 pv, FLOAT angle) +static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxisLocal(ID3DXMatrixStack *iface, CONST D3DXVECTOR3 *pv, FLOAT angle) { ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; FIXME("(%p) : stub\n",This); diff --git a/include/d3dx8math.h b/include/d3dx8math.h index 2ee783f5450..88da2b05f74 100644 --- a/include/d3dx8math.h +++ b/include/d3dx8math.h @@ -359,11 +359,11 @@ DECLARE_INTERFACE_(ID3DXMatrixStack, IUnknown) STDMETHOD(Pop)(THIS) PURE; STDMETHOD(Push)(THIS) PURE; STDMETHOD(LoadIdentity)(THIS) PURE; - STDMETHOD(LoadMatrix)(THIS_ CONST LPD3DXMATRIX) PURE; - STDMETHOD(MultMatrix)(THIS_ CONST LPD3DXMATRIX) PURE; - STDMETHOD(MultMatrixLocal)(THIS_ CONST LPD3DXMATRIX) PURE; - STDMETHOD(RotateAxis)(THIS_ CONST LPD3DXVECTOR3, FLOAT) PURE; - STDMETHOD(RotateAxisLocal)(THIS_ CONST LPD3DXVECTOR3, FLOAT) PURE; + STDMETHOD(LoadMatrix)(THIS_ CONST D3DXMATRIX *) PURE; + STDMETHOD(MultMatrix)(THIS_ CONST D3DXMATRIX *) PURE; + STDMETHOD(MultMatrixLocal)(THIS_ CONST D3DXMATRIX *) PURE; + STDMETHOD(RotateAxis)(THIS_ CONST D3DXVECTOR3 *, FLOAT) PURE; + STDMETHOD(RotateAxisLocal)(THIS_ CONST D3DXVECTOR3 *, FLOAT) PURE; STDMETHOD(RotateYawPitchRoll)(THIS_ FLOAT, FLOAT, FLOAT) PURE; STDMETHOD(RotateYawPitchRollLocal)(THIS_ FLOAT, FLOAT, FLOAT) PURE; STDMETHOD(Scale)(THIS_ FLOAT, FLOAT, FLOAT) PURE;