VirtualBox

Changeset 20460 in vbox for trunk/src


Ignore:
Timestamp:
Jun 10, 2009 11:32:28 AM (16 years ago)
Author:
vboxsync
Message:

Windows guest display driver: use correct foreground color in DrvRealizeBrush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/vrdp.c

    r17615 r20460  
    16431643            }
    16441644
    1645             /* Obtain RGB values for the brush fore and background colors. */
    1646             pBrush->u.pat.rgbFG = vrdpColor2RGB (psoTarget, pxlo->pulXlate[1]);
    1647             pBrush->u.pat.rgbBG = vrdpColor2RGB (psoTarget, pxlo->pulXlate[0]);
     1645            /* Obtain RGB values for the brush fore and background colors:
     1646             * "should translate color zero through the XLATEOBJ to get the foreground color for the brush."
     1647             */
     1648            pBrush->u.pat.rgbFG = vrdpColor2RGB (psoTarget, pxlo->pulXlate[0]);
     1649            pBrush->u.pat.rgbBG = vrdpColor2RGB (psoTarget, pxlo->pulXlate[1]);
    16481650
    16491651            pBrush->fPattern = TRUE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette