wined3d: Pass the correct window to Present() in IWineD3DSurfaceImpl_Flip().
This commit is contained in:
parent
3b7774b37b
commit
83443273c1
|
@ -3343,7 +3343,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Flip(IWineD3DSurface *iface, IWineD3DS
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Flipping a OpenGL surface -> Use WineD3DDevice::Present */
|
/* Flipping a OpenGL surface -> Use WineD3DDevice::Present */
|
||||||
hr = IWineD3DSwapChain_Present((IWineD3DSwapChain *) swapchain, NULL, NULL, 0, NULL, 0);
|
hr = IWineD3DSwapChain_Present((IWineD3DSwapChain *)swapchain,
|
||||||
|
NULL, NULL, swapchain->win_handle, NULL, 0);
|
||||||
IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
|
IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue