mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +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.lpDriverHandle = &ddgbl;
|
||||||
|
ddgbl.hDDVxd = -1;
|
||||||
|
|
||||||
if (reenable == FALSE)
|
if (reenable == FALSE)
|
||||||
{
|
{
|
||||||
|
@ -323,6 +324,16 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
|
||||||
This->lpLcl->lpDDCB = This->lpLcl->lpGbl->lpDDCBtmp;
|
This->lpLcl->lpDDCB = This->lpLcl->lpGbl->lpDDCBtmp;
|
||||||
This->lpLcl->hDD = ddgbl.hDD;
|
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");
|
DX_STUB_str("DD_OK\n");
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue