wined3d: Pass the correct window to Present() in IWineD3DSurfaceImpl_BltOverride().

This commit is contained in:
Henri Verbeet 2010-04-06 20:05:16 +02:00 committed by Alexandre Julliard
parent 56659c3a70
commit 3b7774b37b
1 changed files with 2 additions and 1 deletions

View File

@ -3856,7 +3856,8 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, const
dstSwapchain->presentParms.PresentationInterval = WINED3DPRESENT_INTERVAL_IMMEDIATE; dstSwapchain->presentParms.PresentationInterval = WINED3DPRESENT_INTERVAL_IMMEDIATE;
TRACE("Full screen back buffer -> front buffer blt, performing a flip instead\n"); TRACE("Full screen back buffer -> front buffer blt, performing a flip instead\n");
IWineD3DSwapChain_Present((IWineD3DSwapChain *) dstSwapchain, NULL, NULL, 0, NULL, 0); IWineD3DSwapChain_Present((IWineD3DSwapChain *)dstSwapchain,
NULL, NULL, dstSwapchain->win_handle, NULL, 0);
dstSwapchain->presentParms.SwapEffect = orig_swap; dstSwapchain->presentParms.SwapEffect = orig_swap;