VirtualBox

Changeset 50098 in vbox


Ignore:
Timestamp:
Jan 17, 2014 5:01:36 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: saved state fix

File:
1 edited

Legend:

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

    r50095 r50098  
    32123212    while ((pEntry = CrVrScrCompositorConstIterNext(&Iter)) != NULL)
    32133213    {
    3214         HCR_FRAMEBUFFER_ENTRY hEntry = CrFbEntryFromCompositorEntry(pEntry);
    3215         rc = CrFbEntrySaveState(pFb, hEntry, pSSM);
    3216         AssertRCReturn(rc, rc);
     3214        CR_TEXDATA *pTexData = CrVrScrCompositorEntryTexGet(pEntry);
     3215        CR_FBTEX *pFbTex = PCR_FBTEX_FROM_TEX(pTexData);
     3216        if (pFbTex->pTobj)
     3217        {
     3218            HCR_FRAMEBUFFER_ENTRY hEntry = CrFbEntryFromCompositorEntry(pEntry);
     3219            rc = CrFbEntrySaveState(pFb, hEntry, pSSM);
     3220            AssertRCReturn(rc, rc);
     3221        }
    32173222    }
    32183223
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