filling in bit more info to DDRAW_GLOBAL struct in halinistate.

svn path=/trunk/; revision=18741
This commit is contained in:
Magnus Olsen 2005-10-24 16:44:37 +00:00
parent c40fbd1850
commit 4c02f58b0c

View file

@ -71,12 +71,14 @@ HRESULT WINAPI Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hw
This->hdc = GetDC(hwnd);
This->cooperative_level = cooplevel;
if((ret = Hel_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
return ret;
if((ret = Hal_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
return ret;
if((ret = Hel_DirectDraw_SetCooperativeLevel (iface)) != DD_OK)
return ret;
return DD_OK;
}
@ -371,7 +373,7 @@ HRESULT WINAPI Main_DirectDraw_WaitForVerticalBlank(LPDIRECTDRAW7 iface, DWORD d
HRESULT WINAPI Main_DirectDraw_GetAvailableVidMem(LPDIRECTDRAW7 iface, LPDDSCAPS2 ddscaps,
LPDWORD total, LPDWORD free)
{
DX_STUB;
}