filling in bit more info to DDRAW_GLOBAL struct in halinistate.
Modified: trunk/reactos/lib/ddraw/main/ddraw.c
_____
Modified: trunk/reactos/lib/ddraw/main/ddraw.c
--- trunk/reactos/lib/ddraw/main/ddraw.c 2005-10-24 16:29:36 UTC
(rev 18740)
+++ trunk/reactos/lib/ddraw/main/ddraw.c 2005-10-24 16:44:37 UTC
(rev 18741)
@@ -71,12 +71,14 @@
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_GetAvailableVidMem(LPDIRECTDRAW7 iface,
LPDDSCAPS2 ddscaps,
LPDWORD total, LPDWORD free)
{
-
+
DX_STUB;
}
Show replies by date