VirtualBox

Changeset 30886 in vbox


Ignore:
Timestamp:
Jul 16, 2010 6:35:14 PM (15 years ago)
Author:
vboxsync
Message:

Devices/Graphics: quick workaround for the crash when taking a screenshot while the card is set to blank the screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r30605 r30886  
    25242524
    25252525            /* Do a complete redraw, which will pick up a new screen resolution. */
    2526             if (s->gr[6] & 1) {
     2526            if (fBlank) {
     2527                s->graphic_mode = GMODE_BLANK;
     2528                vga_draw_blank(s, 1);
     2529            } else if (s->gr[6] & 1) {
    25272530                s->graphic_mode = GMODE_GRAPH;
    25282531                rc = vga_draw_graphic(s, 1);
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