Author: greatlrd
Date: Sun Aug 6 14:29:56 2006
New Revision: 23495
URL:
http://svn.reactos.org/svn/reactos?rev=23495&view=rev
Log:
forget remove one line in DirectDraw_GetAvailableVidMem sorry
Modified:
trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/main/ddr…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/ddraw_main.c Sun Aug 6 14:29:56 2006
@@ -1326,11 +1326,9 @@
{
return DDERR_NODRIVERSUPPORT;
}
-
- mem.lpDD = &This->mDDrawGlobal;
- mem.ddRVal = DDERR_NOTPALETTIZED;
-
+
mem.lpDD = This->mDDrawLocal.lpGbl;
+ mem.ddRVal = DDERR_NOTPALETTIZED;
mem.DDSCaps.dwCaps = ddscaps->dwCaps;
mem.ddsCapsEx.dwCaps2 = ddscaps->dwCaps2;
mem.ddsCapsEx.dwCaps3 = ddscaps->dwCaps3;