Module: wine Branch: master Commit: 517dad96ae50c1046557d1b9f6efa6c8f21db558 URL: http://source.winehq.org/git/wine.git/?a=commit;h=517dad96ae50c1046557d1b9f6...
Author: David Adam david.adam.cnrs@gmail.com Date: Thu Oct 30 17:38:55 2008 +0100
d3dx8: Implement ID3DXMatrixStack_LoadIdentity.
---
dlls/d3dx8/math.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx8/math.c b/dlls/d3dx8/math.c index 20d6364..956a6a0 100644 --- a/dlls/d3dx8/math.c +++ b/dlls/d3dx8/math.c @@ -663,8 +663,12 @@ static D3DXMATRIX* WINAPI ID3DXMatrixStackImpl_GetTop(ID3DXMatrixStack *iface) static HRESULT WINAPI ID3DXMatrixStackImpl_LoadIdentity(ID3DXMatrixStack *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)