mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
Fixing right behvoir for setcooperlevel with normal flag set in windows mode
Fixing gpl.dwflag being set right. svn path=/trunk/; revision=27192
This commit is contained in:
parent
7ac1277f52
commit
a02534e0fe
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hwnd, DWORD coopl
|
|||
/* FIXME in setup.c set DDRAWI_UMODELOADED | DDRAWI_DISPLAYDRV | DDRAWI_EMULATIONINITIALIZED | DDRAWI_GDIDRV | DDRAWI_ATTACHEDTODESKTOP */
|
||||
/* FIXME in setup.c This->lpLcl->lpGbl->dwFlags = */
|
||||
|
||||
This->lpLcl->dwLocalFlags = DDRAWILCL_SETCOOPCALLED | DDRAWILCL_DIRECTDRAW7 | DDRAWILCL_HOOKEDHWND;
|
||||
This->lpLcl->dwLocalFlags = DDRAWILCL_SETCOOPCALLED | DDRAWILCL_DIRECTDRAW7 ;
|
||||
This->lpLcl->hWnd = (ULONG_PTR) hwnd;
|
||||
This->lpLcl->hFocusWnd = (ULONG_PTR) hwnd;
|
||||
This->lpLcl->lpGbl->lpExclusiveOwner=NULL;
|
||||
|
|
|
@ -285,7 +285,7 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
|
|||
}
|
||||
|
||||
/* Fill some basic info for Surface */
|
||||
This->lpLcl->lpGbl->dwFlags = dwFlags | DDRAWI_ATTACHEDTODESKTOP;
|
||||
This->lpLcl->lpGbl->dwFlags = This->lpLcl->lpGbl->dwFlags | dwFlags | DDRAWI_ATTACHEDTODESKTOP;
|
||||
This->lpLcl->lpDDCB = This->lpLcl->lpGbl->lpDDCBtmp;
|
||||
This->lpLcl->hDD = ddgbl.hDD;
|
||||
|
||||
|
|
Loading…
Reference in a new issue