mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:30:46 +00:00
dxgi: Fix IWineD3DSwapChain_GetParent() call.
This commit is contained in:
parent
e3788512ad
commit
4a3da6e190
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue