d3dx8: Implement ID3DXMatrixStack_LoadIdentity.

This commit is contained in:
David Adam 2008-10-30 17:38:55 +01:00 committed by Alexandre Julliard
parent 48960eef2c
commit 517dad96ae
1 changed files with 6 additions and 2 deletions

View File

@ -663,8 +663,12 @@ static D3DXMATRIX* WINAPI ID3DXMatrixStackImpl_GetTop(ID3DXMatrixStack *iface)
static HRESULT WINAPI ID3DXMatrixStackImpl_LoadIdentity(ID3DXMatrixStack *iface) static HRESULT WINAPI ID3DXMatrixStackImpl_LoadIdentity(ID3DXMatrixStack *iface)
{ {
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface; ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
FIXME("(%p) : stub\n",This);
return E_NOTIMPL; TRACE("iface %p\n", iface);
D3DXMatrixIdentity(&This->stack[This->current]);
return D3D_OK;
} }
static HRESULT WINAPI ID3DXMatrixStackImpl_LoadMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm) static HRESULT WINAPI ID3DXMatrixStackImpl_LoadMatrix(ID3DXMatrixStack *iface, CONST D3DXMATRIX *pm)