wined3d: Return the correct parent in IWineD3DVertexDeclarationImpl_GetParent.

This commit is contained in:
H. Verbeet 2005-12-14 11:29:17 +01:00 committed by Alexandre Julliard
parent 0a0e948b28
commit 0f43cb2f38
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ ULONG WINAPI IWineD3DVertexDeclarationImpl_Release(IWineD3DVertexDeclaration *if
HRESULT WINAPI IWineD3DVertexDeclarationImpl_GetParent(IWineD3DVertexDeclaration *iface, IUnknown** parent){ HRESULT WINAPI IWineD3DVertexDeclarationImpl_GetParent(IWineD3DVertexDeclaration *iface, IUnknown** parent){
IWineD3DVertexDeclarationImpl *This = (IWineD3DVertexDeclarationImpl *)iface; IWineD3DVertexDeclarationImpl *This = (IWineD3DVertexDeclarationImpl *)iface;
*parent= (IUnknown*) parent; *parent= This->parent;
IUnknown_AddRef(*parent); IUnknown_AddRef(*parent);
TRACE("(%p) : returning %p\n", This, *parent); TRACE("(%p) : returning %p\n", This, *parent);
return D3D_OK; return D3D_OK;