Author: greatlrd
Date: Thu May 1 04:51:25 2008
New Revision: 33208
URL:
http://svn.reactos.org/svn/reactos?rev=33208&view=rev
Log:
Do not double set value that have already been set by ms dxg.sys
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] Thu May 1 04:51:25
2008
@@ -56,11 +56,6 @@
dump_edd_directdraw_global(pEddgbl);
DPRINT1(" end call to pfnDdEnableDirectDraw \n ");
}
-
- /* setup hdev for edd_DdirectDraw_Global xp */
- edd_DdirectDraw_Global.hDev = pDC->pPDev;
- /*FIXME : edd_DdirectDraw_Global.dhpdev = (PVOID)pDC->PDev; */
-
/* test see if drv got a dx interface or not */
if ( ( pDev->DriverFunctions.DisableDirectDraw == NULL) ||
@@ -866,7 +861,7 @@
/* internal debug api */
void dump_edd_directdraw_global(EDD_DIRECTDRAW_GLOBAL *pEddgbl)
{
- DPRINT1("0x%08lx ????? PEDD_DIRECTDRAW_GLOBAL->dhpdev
: 0x%08lx\n",(((DWORD)&pEddgbl->dhpdev) - (DWORD)pEddgbl),
pEddgbl->dhpdev);
+ DPRINT1("0x%08lx 0x000 PEDD_DIRECTDRAW_GLOBAL->dhpdev
: 0x%08lx\n",(((DWORD)&pEddgbl->dhpdev) - (DWORD)pEddgbl),
pEddgbl->dhpdev);
DPRINT1("0x%08lx ????? PEDD_DIRECTDRAW_GLOBAL->dwReserved1
: 0x%08lx\n",(((DWORD)&pEddgbl->dwReserved1) -
(DWORD)pEddgbl),pEddgbl->dwReserved1);
DPRINT1("0x%08lx ????? PEDD_DIRECTDRAW_GLOBAL->dwReserved2
: 0x%08lx\n",(((DWORD)&pEddgbl->dwReserved2) -
(DWORD)pEddgbl),pEddgbl->dwReserved2);
DPRINT1("0x%08lx ????? PEDD_DIRECTDRAW_GLOBAL->unk_000c[0]
: 0x%08lx\n",(((DWORD)&pEddgbl->unk_000c[0]) -
(DWORD)pEddgbl),pEddgbl->unk_000c[0]);