VirtualBox

Changeset 55328 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 17, 2015 1:10:08 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99652
Message:

Main: clear DisplaySourceBitmap if screen is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplaySourceBitmapImpl.cpp

    r54828 r55328  
    132132    BitmapFormat_T bitmapFormat = BitmapFormat_Opaque;
    133133
    134     if (pFBInfo->pu8FramebufferVRAM && pFBInfo->u16BitsPerPixel == 32)
     134    if (pFBInfo->pu8FramebufferVRAM && pFBInfo->u16BitsPerPixel == 32 && !pFBInfo->fDisabled)
    135135    {
    136136        /* From VRAM. */
     
    174174        m.ulBytesPerLine = ulBytesPerLine;
    175175        m.bitmapFormat = bitmapFormat;
     176        if (pFBInfo->fDisabled)
     177        {
     178            RT_BZERO(pAddress, ulBytesPerLine * ulHeight);
     179        }
    176180    }
    177181
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