Module: wine Branch: master Commit: 3b7774b37bd0fcced3b8310571d8583d6250b1dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b7774b37bd0fcced3b8310571...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Apr 6 20:05:16 2010 +0200
wined3d: Pass the correct window to Present() in IWineD3DSurfaceImpl_BltOverride().
---
dlls/wined3d/surface.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f0bd431..40fdff3 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -3856,7 +3856,8 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, const dstSwapchain->presentParms.PresentationInterval = WINED3DPRESENT_INTERVAL_IMMEDIATE;
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;