mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
wined3d: Pass the correct window to Present() in IWineGDISurfaceImpl_Flip().
This commit is contained in:
parent
83443273c1
commit
be9e077a4d
@ -240,7 +240,8 @@ IWineGDISurfaceImpl_Flip(IWineD3DSurface *iface,
|
||||
return WINEDDERR_NOTFLIPPABLE;
|
||||
}
|
||||
|
||||
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);
|
||||
return hr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user