From be9e077a4d35590d06df24fb98f18ca8f34b26be Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 6 Apr 2010 20:05:18 +0200 Subject: [PATCH] wined3d: Pass the correct window to Present() in IWineGDISurfaceImpl_Flip(). --- dlls/wined3d/surface_gdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/surface_gdi.c b/dlls/wined3d/surface_gdi.c index 6062a1a520..a648cde0a1 100644 --- a/dlls/wined3d/surface_gdi.c +++ b/dlls/wined3d/surface_gdi.c @@ -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; } -- 2.32.0.93.g670b81a890