VirtualBox

Changeset 45636 in vbox for trunk/src


Ignore:
Timestamp:
Apr 19, 2013 9:52:31 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: proper visible regions cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c

    r45579 r45636  
    292292    if (mural->CreateInfo.pszDpyName)
    293293        crFree(mural->CreateInfo.pszDpyName);
     294
     295    CrVrScrCompositorTerm(&mural->Compositor);
     296
     297    if (mural->fRootVrOn)
     298        CrVrScrCompositorTerm(&mural->RootVrCompositor);
    294299}
    295300
     
    389394        pNode = pNode->next;
    390395    }
    391 
    392     CrVrScrCompositorTerm(&mural->Compositor);
    393 
    394     if (mural->fRootVrOn)
    395         CrVrScrCompositorTerm(&mural->RootVrCompositor);
    396396
    397397    crHashtableDelete(cr_server.muralTable, window, crFree);
     
    465465    /* the compositor lock is not needed actually since we have prevented renderspu from using the compositor */
    466466    /* CrVrScrCompositorLock(&mural->Compositor); */
     467#if 0
    467468    if (!mural->bReceivedRects)
    468469    {
     
    488489    }
    489490    else
     491#endif
    490492    {
    491493        rc = CrVrScrCompositorEntryTexUpdate(&mural->Compositor, &mural->CEntry, &Tex);
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