Changeset 45509 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Apr 12, 2013 9:17:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
r45507 r45509 541 541 int CrBltEnter(PCR_BLITTER pBlitter, const CR_BLITTER_CONTEXT *pRestoreCtxInfo, const CR_BLITTER_WINDOW *pRestoreMural) 542 542 { 543 if (!pBlitter->CurrentMural.Base.id )543 if (!pBlitter->CurrentMural.Base.id && pBlitter->CtxInfo.Base.id) 544 544 { 545 545 crWarning("current mural not initialized!"); … … 555 555 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)*/ 556 556 { 557 pBlitter->pDispatch->Flush(); 557 558 pBlitter->pDispatch->MakeCurrent(pBlitter->CurrentMural.Base.id, pBlitter->i32MakeCurrentUserData, pBlitter->CtxInfo.Base.id); 558 559 } … … 570 571 pBlitter->pRestoreCtxInfo = pRestoreCtxInfo; 571 572 pBlitter->pRestoreMural = pRestoreMural; 572 573 pBlitter->pDispatch->Flush();574 573 } 575 574 else
Note:
See TracChangeset
for help on using the changeset viewer.