VirtualBox

Changeset 50552 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 24, 2014 9:34:35 AM (11 years ago)
Author:
vboxsync
Message:

DisplayImpl,DevVGA: take correct screenshot if VBVA is paused

File:
1 edited

Legend:

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

    r50497 r50552  
    51605160    AssertRC(rc);
    51615161
     5162    /* This method only works if the VGA device is in a VBE mode. */
     5163    if ((pThis->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED) == 0)
     5164    {
     5165        PDMCritSectLeave(&pThis->CritSect);
     5166        return VERR_INVALID_STATE;
     5167    }
     5168
    51625169    vga_draw_line = vga_draw_line_table[v * 4 + get_depth_index(u32DstBitsPerPixel)];
    51635170
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