VirtualBox

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


Ignore:
Timestamp:
Mar 19, 2010 9:40:50 PM (15 years ago)
Author:
vboxsync
Message:

wddm: fix to enable 32bit display modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r27458 r27551  
    397397            {
    398398                if (pInfo->RedMask == 0xFF0000 && pInfo->GreenMask == 0xFF00 && pInfo->BlueMask == 0xFF)
    399                     return D3DDDIFMT_X8R8G8B8;
     399                    return D3DDDIFMT_A8R8G8B8;
    400400                drprintf((__FUNCTION__": unsupported format: bpp(%d), rmask(%d), gmask(%d), bmask(%d)\n", pInfo->BitsPerPlane, pInfo->RedMask, pInfo->GreenMask, pInfo->BlueMask));
    401401                AssertBreakpoint();
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