mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 21:18:15 +00:00
[WIN32SS/NTGDI]
- Initialize all DC brushes with 1x1 monochrome bitmap at DC creation svn path=/trunk/; revision=56948
This commit is contained in:
parent
239edc1a73
commit
3ac46be1b0
1 changed files with 4 additions and 1 deletions
|
@ -272,8 +272,11 @@ DC_vInitDc(
|
|||
pdc->dclevel.ptlBrushOrigin.y = 0;
|
||||
pdc->dcattr.ptlBrushOrigin = pdc->dclevel.ptlBrushOrigin;
|
||||
|
||||
/* Init text brush */
|
||||
/* Initialize EBRUSHOBJs */
|
||||
EBRUSHOBJ_vInit(&pdc->eboFill, pdc->dclevel.pbrFill, pdc);
|
||||
EBRUSHOBJ_vInit(&pdc->eboLine, pdc->dclevel.pbrLine, pdc);
|
||||
EBRUSHOBJ_vInit(&pdc->eboText, pbrDefaultBrush, pdc);
|
||||
EBRUSHOBJ_vInit(&pdc->eboBackground, pbrDefaultBrush, pdc);
|
||||
|
||||
/* Setup fill data */
|
||||
pdc->dcattr.jROP2 = R2_COPYPEN;
|
||||
|
|
Loading…
Reference in a new issue