David Adam : d3dx8: Implement ID3DXMatrixStack_GetTop().
Alexandre Julliard
julliard at winehq.org
Thu Oct 30 10:10:29 CDT 2008
Module: wine
Branch: master
Commit: c5da8d4c3bbd9c078d7b8bcab087c2d1e15fe176
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5da8d4c3bbd9c078d7b8bcab087c2d1e15fe176
Author: David Adam <david.adam.cnrs at gmail.com>
Date: Wed Oct 29 16:34:21 2008 +0100
d3dx8: Implement ID3DXMatrixStack_GetTop().
---
dlls/d3dx8/math.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx8/math.c b/dlls/d3dx8/math.c
index 631f0a1..eedc115 100644
--- a/dlls/d3dx8/math.c
+++ b/dlls/d3dx8/math.c
@@ -654,8 +654,10 @@ static ULONG WINAPI ID3DXMatrixStackImpl_Release(ID3DXMatrixStack* iface)
static D3DXMATRIX* WINAPI ID3DXMatrixStackImpl_GetTop(ID3DXMatrixStack *iface)
{
ID3DXMatrixStackImpl *This = (ID3DXMatrixStackImpl *)iface;
- FIXME("(%p) : stub\n",This);
- return NULL;
+
+ TRACE("iface %p\n", iface);
+
+ return &This->stack[This->current];
}
static HRESULT WINAPI ID3DXMatrixStackImpl_LoadIdentity(ID3DXMatrixStack *iface)
More information about the wine-cvs
mailing list