mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[WIN32K]
Fix a nasty copypasta bug: When the DC brush was selected into a DC, it was painted with the pen color instead of the brush color. Should fix Snappy Driver installer and potentially a lot of other graphical issues. CORE-9424 #resolve svn path=/trunk/; revision=69774
This commit is contained in:
parent
6a1044e4bc
commit
1bd7d0867f
1 changed files with 1 additions and 2 deletions
|
@ -49,9 +49,8 @@ DC_vUpdateFillBrush(PDC pdc)
|
|||
/* Check for DC brush */
|
||||
if (pdcattr->hbrush == StockObjects[DC_BRUSH])
|
||||
{
|
||||
/* ROS HACK, should use surf xlate */
|
||||
/* Update the eboFill's solid color */
|
||||
EBRUSHOBJ_vSetSolidRGBColor(&pdc->eboFill, pdcattr->crPenClr);
|
||||
EBRUSHOBJ_vSetSolidRGBColor(&pdc->eboFill, pdcattr->crBrushClr);
|
||||
}
|
||||
|
||||
/* Clear flags */
|
||||
|
|
Loading…
Reference in a new issue