mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32K]
Update all brushes in DC_vPrepareDCsForBlit. This allows us to simplify the code elsewhere. svn path=/trunk/; revision=50997
This commit is contained in:
@@ -480,6 +480,15 @@ DC_vPrepareDCsForBlit(PDC pdc1,
|
||||
{
|
||||
PDC pdcFirst, pdcSecond;
|
||||
PRECT prcFirst, prcSecond;
|
||||
|
||||
/* Update brushes */
|
||||
if (pdc1->pdcattr->ulDirty_ & (DIRTY_FILL | DC_BRUSH_DIRTY))
|
||||
DC_vUpdateFillBrush(pdc1);
|
||||
if (pdc1->pdcattr->ulDirty_ & (DIRTY_LINE | DC_PEN_DIRTY))
|
||||
DC_vUpdateLineBrush(pdc1);
|
||||
if(pdc1->pdcattr->ulDirty_ & DIRTY_TEXT)
|
||||
DC_vUpdateTextBrush(pdc1);
|
||||
|
||||
/* Lock them in good order */
|
||||
if(pdc2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user