mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 17:14:32 +00:00
Move the DC_InitHack
svn path=/branches/reactos-yarotows/; revision=46249
This commit is contained in:
parent
74ef03da5c
commit
299a3749d1
1 changed files with 5 additions and 2 deletions
|
@ -333,8 +333,6 @@ DC_vInitDc(
|
|||
pdc->dcattr.iCS_CP = 0;
|
||||
pdc->pSurfInfo = NULL;
|
||||
|
||||
/* FIXME: HACK! */
|
||||
DC_InitHack(pdc);
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
@ -480,6 +478,9 @@ GreOpenDCW(
|
|||
hdc = pdc->BaseObject.hHmgr;
|
||||
|
||||
DC_vInitDc(pdc, iType, ppdev);
|
||||
/* FIXME: HACK! */
|
||||
DC_InitHack(pdc);
|
||||
|
||||
DC_AllocDcAttr(pdc);
|
||||
|
||||
DC_UnlockDc(pdc);
|
||||
|
@ -639,6 +640,8 @@ NtGdiCreateCompatibleDC(HDC hdc)
|
|||
|
||||
/* Initialize the new DC */
|
||||
DC_vInitDc(pdcNew, DCTYPE_MEMORY, ppdev);
|
||||
/* FIXME: HACK! */
|
||||
DC_InitHack(pdc);
|
||||
|
||||
/* Allocate a dc attribute */
|
||||
DC_AllocDcAttr(pdcNew);
|
||||
|
|
Loading…
Reference in a new issue