dxgi: Fix IWineD3DSwapChain_GetParent() call.

This commit is contained in:
Rico Schüller 2010-09-26 09:47:59 +02:00 committed by Alexandre Julliard
parent e3788512ad
commit 4a3da6e190

View file

@ -235,7 +235,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSwapChain(IWineDXGIFactory *
return hr;
}
swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
*swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
IUnknown_Release(wined3d_swapchain);
/* FIXME? The swapchain is created with refcount 1 by the wined3d device,