mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 13:53:38 +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…
x
Reference in New Issue
Block a user