VirtualBox

Changeset 8396 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Apr 25, 2008 4:29:47 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30212
Message:

Correctly process the default BPP value for mode change request in the Windows Additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxService/VBoxDisplay.cpp

    r8387 r8396  
    260260    }
    261261   
     262    /* Width, height or BPP equal to 0 means that this value must be not changed.
     263     * Update input parameters if necessary.
     264     */
    262265    if (Width == 0)
    263266    {
     
    268271    {
    269272        Height = paRects[Id].bottom - paRects[Id].top;
     273    }
     274
     275    if (BitsPerPixel == 0)
     276    {
     277        BitsPerPixel = paDeviceModes[Id].dmBitsPerPel;
    270278    }
    271279
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