mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.
This commit is contained in:
parent
b1a16d978d
commit
167b83c28a
2 changed files with 0 additions and 2 deletions
|
@ -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 a new issue