[PATCH] This fixes a regression in Red Alert and other apps where only a part of the window. The regression was introduced during the wined3d window rewrite.

Roderick Colenbrander thunderbird2k at gmx.net
Thu Aug 21 15:51:18 CDT 2008


---
 dlls/wined3d/device.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index b6a9d7a..3380cce 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1329,8 +1329,7 @@ static void WINAPI IWineD3DDeviceImpl_SetupFullscreenWindow(IWineD3DDevice *ifac
 
     /* Inform the window about the update. */
     SetWindowPos(window, HWND_TOP, 0, 0,
-                 w, h, SWP_FRAMECHANGED);
-    ShowWindow(window, SW_NORMAL);
+                 w, h, SWP_FRAMECHANGED | SWP_SHOWWINDOW);
 }
 
 /*****************************************************************************
-- 
1.5.3.8


--========GMX301841219345871342144--



More information about the wine-patches mailing list