mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 22:31:34 +00:00
filling in bit more info to DDRAW_GLOBAL struct in halinistate.
svn path=/trunk/; revision=18741
This commit is contained in:
parent
c40fbd1850
commit
4c02f58b0c
|
@ -71,12 +71,14 @@ HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hw
|
||||||
This->hdc = GetDC(hwnd);
|
This->hdc = GetDC(hwnd);
|
||||||
This->cooperative_level = cooplevel;
|
This->cooperative_level = cooplevel;
|
||||||
|
|
||||||
if((ret = Hel_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
if((ret = Hal_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
|
if((ret = Hal_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
if((ret = Hel_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
|
||||||
|
return ret;
|
||||||
|
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue