VirtualBox

Changeset 81221 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Oct 11, 2019 8:50:59 AM (5 years ago)
Author:
vboxsync
Message:

DevVGA.cpp: style nits.

File:
1 edited

Legend:

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

    r81031 r81221  
    26702670
    26712671static int vga_update_display(PVGASTATE pThis, bool fUpdateAll, bool fFailOnResize, bool reset_dirty,
    2672         PDMIDISPLAYCONNECTOR *pDrv, int32_t *pcur_graphic_mode)
     2672                              PDMIDISPLAYCONNECTOR *pDrv, int32_t *pcur_graphic_mode)
    26732673{
    26742674    int rc = VINF_SUCCESS;
     
    44254425            uint32_t cCols       = cbLine / 8;
    44264426
    4427             if (fAll) {
     4427            if (fAll)
    44284428                vgaInfoTextWorker(pThis, pHlp, offStart - iScrBegin * cbLine, cbLine,
    44294429                                  cCols, cRows, iScrBegin, iScrBegin + cScrRows);
    4430             } else {
     4430            else
    44314431                vgaInfoTextWorker(pThis, pHlp, offStart, cbLine, cCols, cScrRows, 0, cScrRows);
    4432             }
    44334432        }
    44344433        else
     
    47594758    }
    47604759
    4761     rc = vga_update_display(pThis, false, false, true,
    4762             pThis->pDrv, &pThis->graphic_mode);
     4760    rc = vga_update_display(pThis, false /*fUpdateAll*/, false /*fFailOnResize*/, true /*reset_dirty*/,
     4761                            pThis->pDrv, &pThis->graphic_mode);
    47634762    PDMCritSectLeave(&pThis->CritSect);
    47644763    return rc;
     
    47924791    pThis->graphic_mode = -1; /* force full update */
    47934792
    4794     return vga_update_display(pThis, true, fFailOnResize, true,
    4795             pThis->pDrv, &pThis->graphic_mode);
     4793    return vga_update_display(pThis, true /*fUpdateAll*/, fFailOnResize, true /*reset_dirty*/, pThis->pDrv, &pThis->graphic_mode);
    47964794}
    47974795
     
    49494947             * If there is a pending resize, the function will fail.
    49504948             */
    4951             rc = vga_update_display(pThis, false, true, false, &Connector, &cur_graphic_mode);
     4949            rc = vga_update_display(pThis, false /*fUpdateAll*/, true /*fFailOnResize*/, false /*reset_dirty*/,
     4950                                    &Connector, &cur_graphic_mode);
    49524951
    49534952            pThis->fRenderVRAM = fSavedRenderVRAM;
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