VirtualBox

Changeset 35503 in vbox


Ignore:
Timestamp:
Jan 12, 2011 12:54:13 PM (14 years ago)
Author:
vboxsync
Message:

VBoxDisp: DrvDitherColor uses halftone approximation.

File:
1 edited

Legend:

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

    r35501 r35503  
    195195    DISPDBG((1, "%s\n", __FUNCTION__));
    196196
    197     /* Just forward this to the software engine. */
    198     rc = EngDitherColor(((PPDEV)dhpdev)->hdevEng, iMode, rgb, pul);
     197    /* There is no EngDitherColor on NT4, so take the easy path and tell the graphics
     198     * engine to create a halftone approximation.
     199     */
     200    rc = DCR_HALFTONE;
    199201
    200202    return rc;
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