mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user