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;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
|
*swapchain = IWineD3DSwapChain_GetParent(wined3d_swapchain);
|
||||||
IUnknown_Release(wined3d_swapchain);
|
IUnknown_Release(wined3d_swapchain);
|
||||||
|
|
||||||
/* FIXME? The swapchain is created with refcount 1 by the wined3d device,
|
/* FIXME? The swapchain is created with refcount 1 by the wined3d device,
|
||||||
|
|
Loading…
Reference in New Issue