VirtualBox

Changeset 48733 in vbox for trunk


Ignore:
Timestamp:
Sep 27, 2013 1:07:23 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: some cleanup

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vreg.cpp

    r48726 r48733  
    25642564    CrVrScrCompositorIterInit(pCompositor, &CIter);
    25652565    int rc = VINF_SUCCESS;
    2566     uint32_t cRects;
    2567     const RTRECT *pRects;
    25682566    bool fChanged = false;
    25692567
     
    25712569    {
    25722570        bool fCurChanged = false;
    2573 
    2574         /* get source rects, that will be non-stretched and entry pos - pased */
    2575         rc = CrVrScrCompositorEntryRegionsGet(pCompositor, pEntry, &cRects, NULL, NULL, &pRects);
    2576         if (!RT_SUCCESS(rc))
    2577         {
    2578             WARN(("CrVrScrCompositorEntryRegionsGet failed, rc %d", rc));
    2579             break;
    2580         }
    25812571
    25822572        rc = CrVrScrCompositorEntryListIntersect(pCompositor, pEntry, pVr, &fCurChanged);
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r48726 r48733  
    226226        if (fChangeFlags & VBOXVR_COMPOSITOR_CF_REGIONS_CHANGED)
    227227        {
    228             uint32_t cRects;
    229             const RTRECT *pRects;
    230228            bool fChanged = true;
    231229            if (pDisplay->Mural.fRootVrOn)
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