- Timestamp:
- Mar 29, 2010 12:21:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp
r27777 r27785 2450 2450 { 2451 2451 VBoxVHWASurfaceBase *pCurSurf = (*it); 2452 if(pCurSurf != pSurf) 2452 Assert(pCurSurf); 2453 if (pCurSurf != pSurf) 2453 2454 { 2454 2455 mDisplay.updateVGA(pCurSurf); … … 2727 2728 Assert(mDisplay.getVGA() == mDisplay.getPrimary()); 2728 2729 #endif 2729 if (pSrcSurf->getComplexList()->current() != NULL)2730 if (pSrcSurf->getComplexList()->current() != NULL) 2730 2731 { 2731 2732 Assert(pDstSurf); 2732 if (pDstSurf != mDisplay.getPrimary())2733 if (pDstSurf != mDisplay.getPrimary()) 2733 2734 { 2734 2735 mDisplay.updateVGA(pDstSurf); … … 2759 2760 mRepaintNeeded = true; 2760 2761 2761 if (pCmd->u.in.flags & VBOXVHWA_CKEY_DESTBLT)2762 if (pCmd->u.in.flags & VBOXVHWA_CKEY_DESTBLT) 2762 2763 { 2763 2764 VBoxVHWAColorKey ckey(pCmd->u.in.CKey.high, pCmd->u.in.CKey.low); 2764 2765 pSurf->setDstBltCKey(&ckey); 2765 2766 } 2766 if (pCmd->u.in.flags & VBOXVHWA_CKEY_DESTOVERLAY)2767 if (pCmd->u.in.flags & VBOXVHWA_CKEY_DESTOVERLAY) 2767 2768 { 2768 2769 VBoxVHWAColorKey ckey(pCmd->u.in.CKey.high, pCmd->u.in.CKey.low); 2769 2770 pSurf->setDefaultDstOverlayCKey(&ckey); 2770 2771 } 2771 if (pCmd->u.in.flags & VBOXVHWA_CKEY_SRCBLT)2772 if (pCmd->u.in.flags & VBOXVHWA_CKEY_SRCBLT) 2772 2773 { 2773 2774 VBoxVHWAColorKey ckey(pCmd->u.in.CKey.high, pCmd->u.in.CKey.low); 2774 2775 pSurf->setSrcBltCKey(&ckey); 2775 2776 } 2776 if (pCmd->u.in.flags & VBOXVHWA_CKEY_SRCOVERLAY)2777 if (pCmd->u.in.flags & VBOXVHWA_CKEY_SRCOVERLAY) 2777 2778 { 2778 2779 VBoxVHWAColorKey ckey(pCmd->u.in.CKey.high, pCmd->u.in.CKey.low);
Note:
See TracChangeset
for help on using the changeset viewer.