VirtualBox

Changeset 8427 in vbox


Ignore:
Timestamp:
Apr 28, 2008 3:33:45 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30277
Message:

Backed out r30267.

File:
1 edited

Legend:

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

    r8420 r8427  
    201201    size_t matrixIndex;
    202202    VP_STATUS status = 0;
    203 
    204     ULONG CurrentModeWidth = 0;
    205     ULONG CurrentModeHeight = 0;
    206     ULONG CurrentModeBPP = 0;
    207    
    208     if (DeviceExtension->CurrentMode != 0)
    209     {
    210         /* Save current video mode parameters because VideoModes array will be now rebuilt from scratch. */
    211         CurrentModeWidth  = VideoModes[DeviceExtension->CurrentMode - 1].VisScreenWidth;
    212         CurrentModeHeight = VideoModes[DeviceExtension->CurrentMode - 1].VisScreenHeight;
    213         CurrentModeBPP    = VideoModes[DeviceExtension->CurrentMode - 1].BitsPerPlane;
    214     }
    215203
    216204    /*
     
    581569        {
    582570            if (!xres)
    583                 xres = CurrentModeWidth;
     571                xres = VideoModes[DeviceExtension->CurrentMode - 1].VisScreenWidth;
    584572            if (!yres)
    585                 yres = CurrentModeHeight;
     573                yres = VideoModes[DeviceExtension->CurrentMode - 1].VisScreenHeight;
    586574            if (!bpp)
    587575            {
    588                 bpp  = CurrentModeBPP;
     576                bpp  = VideoModes[DeviceExtension->CurrentMode - 1].BitsPerPlane;
    589577#ifdef DEBUG_frank
    590578                {
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