VirtualBox

Ignore:
Timestamp:
Aug 14, 2014 4:06:54 PM (10 years ago)
Author:
vboxsync
Message:

crOpenGL: fix corupted framebuffer image on 3D desktop exits (UAC or Aero switching off)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r52368 r52384  
    924924    }
    925925
    926     if (pScreen->u16Flags & VBVA_SCREEN_F_DISABLED)
    927     {
    928         CrVrScrCompositorClear(&pFb->Compositor);
     926    int rc = VINF_SUCCESS;
     927    if (CrFbIsEnabled(pFb))
     928    {
     929        rc = CrFbRegionsClear(pFb);
     930        if (RT_FAILURE(rc))
     931        {
     932            WARN(("CrFbRegionsClear failed %d", rc));
     933            return rc;
     934        }
    929935    }
    930936
     
    934940    Rect.xRight = pScreen->u32Width;
    935941    Rect.yBottom = pScreen->u32Height;
    936     int rc = CrVrScrCompositorRectSet(&pFb->Compositor, &Rect, NULL);
     942    rc = CrVrScrCompositorRectSet(&pFb->Compositor, &Rect, NULL);
    937943    if (!RT_SUCCESS(rc))
    938944    {
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