mirror of
https://github.com/reactos/reactos.git
synced 2025-05-20 09:36:16 +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->dcattr.iCS_CP = 0;
|
||||||
pdc->pSurfInfo = NULL;
|
pdc->pSurfInfo = NULL;
|
||||||
|
|
||||||
/* FIXME: HACK! */
|
|
||||||
DC_InitHack(pdc);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
|
@ -480,6 +478,9 @@ GreOpenDCW(
|
||||||
hdc = pdc->BaseObject.hHmgr;
|
hdc = pdc->BaseObject.hHmgr;
|
||||||
|
|
||||||
DC_vInitDc(pdc, iType, ppdev);
|
DC_vInitDc(pdc, iType, ppdev);
|
||||||
|
/* FIXME: HACK! */
|
||||||
|
DC_InitHack(pdc);
|
||||||
|
|
||||||
DC_AllocDcAttr(pdc);
|
DC_AllocDcAttr(pdc);
|
||||||
|
|
||||||
DC_UnlockDc(pdc);
|
DC_UnlockDc(pdc);
|
||||||
|
@ -639,6 +640,8 @@ NtGdiCreateCompatibleDC(HDC hdc)
|
||||||
|
|
||||||
/* Initialize the new DC */
|
/* Initialize the new DC */
|
||||||
DC_vInitDc(pdcNew, DCTYPE_MEMORY, ppdev);
|
DC_vInitDc(pdcNew, DCTYPE_MEMORY, ppdev);
|
||||||
|
/* FIXME: HACK! */
|
||||||
|
DC_InitHack(pdc);
|
||||||
|
|
||||||
/* Allocate a dc attribute */
|
/* Allocate a dc attribute */
|
||||||
DC_AllocDcAttr(pdcNew);
|
DC_AllocDcAttr(pdcNew);
|
||||||
|
|
Loading…
Reference in a new issue