VirtualBox

Changeset 45509 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Apr 12, 2013 9:17:09 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: more blitter fixes

File:
1 edited

Legend:

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

    r45507 r45509  
    541541int CrBltEnter(PCR_BLITTER pBlitter, const CR_BLITTER_CONTEXT *pRestoreCtxInfo, const CR_BLITTER_WINDOW *pRestoreMural)
    542542{
    543     if (!pBlitter->CurrentMural.Base.id)
     543    if (!pBlitter->CurrentMural.Base.id && pBlitter->CtxInfo.Base.id)
    544544    {
    545545        crWarning("current mural not initialized!");
     
    555555    if (pBlitter->CurrentMural.Base.id) /* <- pBlitter->CurrentMural.Base.id can be null if the blitter is in a "no-context" mode (see comments to BltInit for detail)*/
    556556    {
     557        pBlitter->pDispatch->Flush();
    557558        pBlitter->pDispatch->MakeCurrent(pBlitter->CurrentMural.Base.id, pBlitter->i32MakeCurrentUserData, pBlitter->CtxInfo.Base.id);
    558559    }
     
    570571        pBlitter->pRestoreCtxInfo = pRestoreCtxInfo;
    571572        pBlitter->pRestoreMural = pRestoreMural;
    572 
    573         pBlitter->pDispatch->Flush();
    574573    }
    575574    else
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