VirtualBox

Ignore:
Timestamp:
Aug 8, 2013 9:19:43 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: output redirect fixes

File:
1 edited

Legend:

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

    r47566 r47623  
    18621862
    18631863
    1864 static int crVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, uint32_t cRegions, const RTRECT *paRegions, uint32_t *pfChangedFlags)
     1864static int crVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, uint32_t cRegions, const RTRECT *paRegions, VBOXVR_SCR_COMPOSITOR_ENTRY **ppReplacedScrEntry, uint32_t *pfChangedFlags)
    18651865{
    18661866    uint32_t fChangedFlags = 0;
     
    19001900    if (pfChangedFlags)
    19011901        *pfChangedFlags = fChangedFlags;
     1902
     1903    if (ppReplacedScrEntry)
     1904        *ppReplacedScrEntry = pReplacedScrEntry;
     1905
    19021906    return VINF_SUCCESS;
    19031907}
     
    19871991}
    19881992
    1989 VBOXVREGDECL(int) CrVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions, bool fPosRelated, uint32_t *pfChangeFlags)
     1993VBOXVREGDECL(int) CrVrScrCompositorEntryRegionsAdd(PVBOXVR_SCR_COMPOSITOR pCompositor, PVBOXVR_SCR_COMPOSITOR_ENTRY pEntry, const RTPOINT *pPos, uint32_t cRegions, const RTRECT *paRegions, bool fPosRelated, VBOXVR_SCR_COMPOSITOR_ENTRY **ppReplacedScrEntry, uint32_t *pfChangeFlags)
    19901994{
    19911995    int rc;
     
    20282032    }
    20292033
    2030     rc = crVrScrCompositorEntryRegionsAdd(pCompositor, pEntry, cRegions, paRegions, &fChangeFlags);
     2034    rc = crVrScrCompositorEntryRegionsAdd(pCompositor, pEntry, cRegions, paRegions, ppReplacedScrEntry, &fChangeFlags);
    20312035    if (!RT_SUCCESS(rc))
    20322036    {
     
    20542058    if (fChangeFlags & VBOXVR_COMPOSITOR_CF_ENTRY_REPLACED)
    20552059        fPosChanged = false;
     2060    else if (ppReplacedScrEntry)
     2061        *ppReplacedScrEntry = NULL;
    20562062
    20572063    if (pfChangeFlags)
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