d3dx8: Implement D3DXMatrixStack_MultMatrix.
This commit is contained in:
parent
6b6b8d9bfa
commit
8cdbeacd59
|
@ -686,8 +686,13 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_LoadMatrix(ID3DXMatrixStack *iface, C
|
||||||
static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm)
|
static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm)
|
||||||
{
|
{
|
||||||
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
|
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
|
||||||
FIXME("(%p) : stub\n",This);
|
|
||||||
return E_NOTIMPL;
|
TRACE("iface %p\n", iface);
|
||||||
|
|
||||||
|
if (!pm) return D3DERR_INVALIDCALL;
|
||||||
|
D3DXMatrixMultiply(&This->stack[This->current], &This->stack[This->current], pm);
|
||||||
|
|
||||||
|
return D3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrixLocal(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm)
|
static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrixLocal(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm)
|
||||||
|
|
Loading…
Reference in New Issue