Author: mbosma
Date: Sat May 12 17:17:01 2007
New Revision: 26721
URL:
http://svn.reactos.org/svn/reactos?rev=26721&view=rev
Log:
Deactivate a check.
Modified:
trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/main/ddr…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/ddraw_main.c Sat May 12 17:17:01 2007
@@ -333,13 +333,14 @@
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 |