Author: tkreuzer Date: Wed Mar 17 16:49:25 2010 New Revision: 46249
URL: http://svn.reactos.org/svn/reactos?rev=46249&view=rev Log: Move the DC_InitHack
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] Wed Mar 17 16:49:25 2010 @@ -333,8 +333,6 @@ pdc->dcattr.iCS_CP = 0; pdc->pSurfInfo = NULL;
- /* FIXME: HACK! */ - DC_InitHack(pdc); }
BOOL @@ -480,6 +478,9 @@ hdc = pdc->BaseObject.hHmgr;
DC_vInitDc(pdc, iType, ppdev); + /* FIXME: HACK! */ + DC_InitHack(pdc); + DC_AllocDcAttr(pdc);
DC_UnlockDc(pdc); @@ -639,6 +640,8 @@
/* Initialize the new DC */ DC_vInitDc(pdcNew, DCTYPE_MEMORY, ppdev); + /* FIXME: HACK! */ + DC_InitHack(pdc);
/* Allocate a dc attribute */ DC_AllocDcAttr(pdcNew);