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
1 changed files with 1 additions and 1 deletions

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,