d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.
This commit is contained in:
parent
b1a16d978d
commit
167b83c28a
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue