VirtualBox

Changeset 32679 in vbox


Ignore:
Timestamp:
Sep 21, 2010 5:25:02 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66094
Message:

wddm/3d: fix NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r32677 r32679  
    34273427        PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[pSetVidPnSourceVisibility->VidPnSourceId];
    34283428        PVBOXWDDM_ALLOCATION pAllocation = pSource->pPrimaryAllocation;
    3429         Assert(pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_STD_SHAREDPRIMARYSURFACE
    3430                 || pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC);
    34313429        if (pAllocation)
    34323430        {
     3431            Assert(pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_STD_SHAREDPRIMARYSURFACE
     3432                    || pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC);
     3433
    34333434            Assert(pAllocation->bVisible != pSetVidPnSourceVisibility->Visible);
    34343435            if (pAllocation->bVisible != pSetVidPnSourceVisibility->Visible)
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