d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.

This commit is contained in:
Markus Amsler 2006-11-20 10:47:22 +01:00 committed by Alexandre Julliard
parent b1a16d978d
commit 167b83c28a
2 changed files with 0 additions and 2 deletions

View File

@ -139,7 +139,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetDirect3D(LPDIRECT3DDEVICE8 iface,
if (hr == D3D_OK && pWineD3D != NULL)
{
IWineD3DResource_GetParent((IWineD3DResource *)pWineD3D,(IUnknown **)ppD3D8);
IWineD3DResource_Release((IWineD3DResource *)pWineD3D);
} else {
FIXME("Call to IWineD3DDevice_GetDirect3D failed\n");
*ppD3D8 = NULL;

View File

@ -101,7 +101,6 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetDirect3D(LPDIRECT3DDEVICE9 iface, IDire
if (hr == D3D_OK && pWineD3D != NULL)
{
IWineD3DResource_GetParent((IWineD3DResource *)pWineD3D,(IUnknown **)ppD3D9);
IWineD3DResource_Release((IWineD3DResource *)pWineD3D);
} else {
FIXME("Call to IWineD3DDevice_GetDirect3D failed\n");
*ppD3D9 = NULL;