VirtualBox

Ignore:
Timestamp:
Aug 31, 2010 1:49:55 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp

    r32127 r32148  
    11821182    vboxWddmDbgRenderTargetUpdateCheckSurface(pDevice, pAlloc, ~0UL /* <- for the frontbuffer */);
    11831183#else
    1184     Assert(pAlloc->pD3DIf == NULL);
     1184    Assert((!pAlloc->pD3DIf) == (pRc->cAllocations > 1));
    11851185#endif
    11861186
     
    11901190        if (iNewRTFB == i)
    11911191        {
    1192             Assert(!pAlloc->pD3DIf);
     1192            Assert((!pAlloc->pD3DIf) == (pRc->cAllocations > 1));
    11931193        }
    11941194
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