VirtualBox

Changeset 49777 in vbox for trunk/src


Ignore:
Timestamp:
Dec 4, 2013 3:42:20 PM (11 years ago)
Author:
vboxsync
Message:

DevVGA: framebuffer access check.

File:
1 edited

Legend:

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

    r49771 r49777  
    22762276    w = pThis->last_scr_width * ((pThis->pDrv->cBits + 7) >> 3);
    22772277    d = pThis->pDrv->pu8Data;
    2278     for(i = 0; i < (int)pThis->last_scr_height; i++) {
    2279         memset(d, val, w);
    2280         d += cbScanline;
     2278    if (pThis->fRenderVRAM)
     2279    {
     2280        for(i = 0; i < (int)pThis->last_scr_height; i++) {
     2281            memset(d, val, w);
     2282            d += cbScanline;
     2283        }
    22812284    }
    22822285    pThis->pDrv->pfnUpdateRect(pThis->pDrv, 0, 0, pThis->last_scr_width, pThis->last_scr_height);
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