From 52e0d50e087153baffda7fce03373b2371335225 Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Sat, 12 May 2007 13:17:01 +0000 Subject: [PATCH] Deactivate a check. svn path=/trunk/; revision=26721 --- reactos/dll/directx/ddraw/main/ddraw_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/dll/directx/ddraw/main/ddraw_main.c b/reactos/dll/directx/ddraw/main/ddraw_main.c index f62c046321b..b088f39fad2 100644 --- a/reactos/dll/directx/ddraw/main/ddraw_main.c +++ b/reactos/dll/directx/ddraw/main/ddraw_main.c @@ -333,13 +333,14 @@ Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hwnd, DWORD coopl HWND window; LPDDRAWI_DIRECTDRAW_INT This = (LPDDRAWI_DIRECTDRAW_INT)iface; - +#if 0 // this check is totally invalid if you ask me - mbosma /* Get the old window */ window = (HWND) This->lpLcl->hWnd; if(!window) { return DDERR_NOHWND; } +#endif /* Tests suggest that we need one of them: */ if(!(cooplevel & (DDSCL_SETFOCUSWINDOW |