mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
Deactivate a check.
svn path=/trunk/; revision=26721
This commit is contained in:
parent
7e499053cd
commit
52e0d50e08
|
@ -333,13 +333,14 @@ Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hwnd, DWORD coopl
|
||||||
HWND window;
|
HWND window;
|
||||||
LPDDRAWI_DIRECTDRAW_INT This = (LPDDRAWI_DIRECTDRAW_INT)iface;
|
LPDDRAWI_DIRECTDRAW_INT This = (LPDDRAWI_DIRECTDRAW_INT)iface;
|
||||||
|
|
||||||
|
#if 0 // this check is totally invalid if you ask me - mbosma
|
||||||
/* Get the old window */
|
/* Get the old window */
|
||||||
window = (HWND) This->lpLcl->hWnd;
|
window = (HWND) This->lpLcl->hWnd;
|
||||||
if(!window)
|
if(!window)
|
||||||
{
|
{
|
||||||
return DDERR_NOHWND;
|
return DDERR_NOHWND;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Tests suggest that we need one of them: */
|
/* Tests suggest that we need one of them: */
|
||||||
if(!(cooplevel & (DDSCL_SETFOCUSWINDOW |
|
if(!(cooplevel & (DDSCL_SETFOCUSWINDOW |
|
||||||
|
|
Loading…
Reference in a new issue