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

This commit is contained in:
Henri Verbeet 2010-04-06 20:05:18 +02:00 committed by Alexandre Julliard
parent 83443273c1
commit be9e077a4d
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}