mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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:
parent
f9ac17b332
commit
8daf17a4e8
1 changed files with 9 additions and 0 deletions
|
@ -480,6 +480,15 @@ DC_vPrepareDCsForBlit(PDC pdc1,
|
||||||
{
|
{
|
||||||
PDC pdcFirst, pdcSecond;
|
PDC pdcFirst, pdcSecond;
|
||||||
PRECT prcFirst, prcSecond;
|
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 */
|
/* Lock them in good order */
|
||||||
if(pdc2)
|
if(pdc2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue