mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
Fixing some value that are not being set
svn path=/trunk/; revision=27268
This commit is contained in:
parent
f26b273557
commit
caa55436f4
|
@ -187,6 +187,7 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
|
|||
*/
|
||||
|
||||
ddgbl.lpDriverHandle = &ddgbl;
|
||||
ddgbl.hDDVxd = -1;
|
||||
|
||||
if (reenable == FALSE)
|
||||
{
|
||||
|
@ -323,6 +324,16 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
|
|||
This->lpLcl->lpDDCB = This->lpLcl->lpGbl->lpDDCBtmp;
|
||||
This->lpLcl->hDD = ddgbl.hDD;
|
||||
|
||||
ddgbl.rectDevice.bottom = 0;
|
||||
ddgbl.rectDevice.left= 0;
|
||||
ddgbl.rectDevice.right = ddgbl.vmiData.dwDisplayWidth;
|
||||
ddgbl.rectDevice.right = ddgbl.vmiData.dwDisplayHeight;
|
||||
|
||||
ddgbl.rectDesktop.bottom = 0;
|
||||
ddgbl.rectDesktop.left= 0;
|
||||
ddgbl.rectDesktop.right = ddgbl.vmiData.dwDisplayWidth;
|
||||
ddgbl.rectDesktop.right = ddgbl.vmiData.dwDisplayHeight;
|
||||
|
||||
DX_STUB_str("DD_OK\n");
|
||||
return DD_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue