VirtualBox

Changeset 35501 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 12, 2011 11:02:14 AM (14 years ago)
Author:
vboxsync
Message:

VBoxDisp: use EngDitherColor fallback for DrvDitherColor.

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Display
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/Makefile.kmk

    r35328 r35501  
    3434#VBoxDisp_DEFS        += STAT_sunlover
    3535VBoxDisp_SOURCES     = \
    36         color.c \
    3736        debug.c \
    3837        enable.c \
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/drv.c

    r34439 r35501  
    183183
    184184    return bRc;
     185}
     186
     187ULONG DrvDitherColor(
     188    DHPDEV dhpdev,
     189    ULONG iMode,
     190    ULONG rgb,
     191    ULONG *pul)
     192{
     193    ULONG rc;
     194
     195    DISPDBG((1, "%s\n", __FUNCTION__));
     196
     197    /* Just forward this to the software engine. */
     198    rc = EngDitherColor(((PPDEV)dhpdev)->hdevEng, iMode, rgb, pul);
     199
     200    return rc;
    185201}
    186202
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