VirtualBox

Changeset 50552 in vbox for trunk/src/VBox/Main/src-client


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/Main/src-client/DisplayImpl.cpp

    r50413 r50552  
    26872687                {
    26882688                    RTMemFree(pu8Data);
     2689
     2690                    /* CopyRect can fail if VBVA was paused in VGA device, retry using the generic method. */
     2691                    if (   rc == VERR_INVALID_STATE
     2692                        && aScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
     2693                    {
     2694                        rc = pDisplay->mpDrv->pUpPort->pfnTakeScreenshot(pDisplay->mpDrv->pUpPort,
     2695                                                                         ppu8Data, pcbData, pu32Width, pu32Height);
     2696                    }
    26892697                }
    26902698            }
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