mirror of
https://github.com/reactos/reactos.git
synced 2026-06-22 04:12:45 +08:00
re adding a small hack for edd_directdraw_globalk getting clear out some where in win32k. we need track down this bug.
svn path=/trunk/; revision=33245
This commit is contained in:
@@ -66,6 +66,9 @@ intEnableReactXDriver(HDC hdc)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* FIXME HACK : some how pEDDgpl got zero out */
|
||||
pDev->pEDDgpl = (PVOID)&edd_DdirectDraw_Global;
|
||||
|
||||
/* FIXME : proper check see if it been disable */
|
||||
if (pDev->pEDDgpl->dhpdev == 0)
|
||||
{
|
||||
|
||||
@@ -553,7 +553,7 @@ IntPrepareDriver()
|
||||
PrimarySurface.ppdevNext = NULL; // Fixme! We need to support more than display drvs.
|
||||
PrimarySurface.ppdevParent = NULL; // Always NULL if primary.
|
||||
PrimarySurface.pGraphicsDev = NULL; // Fixme!
|
||||
PrimarySurface.pEDDgpl = &edd_DdirectDraw_Global; // FIXME! We need to support more than display drvs.
|
||||
PrimarySurface.pEDDgpl = (PVOID)&edd_DdirectDraw_Global; // FIXME! We need to support more than display drvs.
|
||||
RtlZeroMemory( &edd_DdirectDraw_Global ,sizeof(EDD_DIRECTDRAW_GLOBAL));
|
||||
ret = TRUE;
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user