VirtualBox

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


Ignore:
Timestamp:
Feb 2, 2007 2:32:07 PM (18 years ago)
Author:
vboxsync
Message:

Don't disable the extended VBE mode when Windows want's to reset the graphics card. This simply did not work right since we did not reset the mode to the Windows boot mode but we set a mode <current width> x <current height> x 0 bpp which only caused an disturbing additional mode switch when chaning the display resolution. Tested with WinXP and Win2000 guests.

File:
1 edited

Legend:

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

    r1 r553  
    12861286   dprintf(("VBoxVideo::VBoxVideoResetDevice\n"));
    12871287
     1288#if 0
     1289   /* Don't disable the extended video mode. This would only switch the video mode
     1290    * to <current width> x <current height> x 0 bpp which is not what we want. And
     1291    * even worse, it causes an disturbing additional mode switch */
    12881292   VideoPortWritePortUshort((PUSHORT)VBE_DISPI_IOPORT_INDEX, VBE_DISPI_INDEX_ENABLE);
    12891293   VideoPortWritePortUshort((PUSHORT)VBE_DISPI_IOPORT_DATA, VBE_DISPI_DISABLED);
     1294#endif
    12901295
    12911296   return TRUE;
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