Commit 0bff261c authored by Markus Amsler's avatar Markus Amsler Committed by Alexandre Julliard

Revert "d3d: Fix partially applied patch: Remove AddRef from GetDirect3D.".

Removing COM in d3d is not feasible as long as we use inheritance. So stick to the COM refcount rules. This reverts commit 3fd8fe08.
parent e521ee2c
......@@ -2305,6 +2305,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetDirect3D(IWineD3DDevice *iface, IWin
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
*ppD3D= This->wineD3D;
TRACE("(%p) : wineD3D returning %p\n", This, *ppD3D);
IWineD3D_AddRef(*ppD3D);
return WINED3D_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment