VirtualBox

Ignore:
Timestamp:
Sep 15, 2010 8:51:16 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: multiswapchain fixes

File:
1 edited

Legend:

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

    r32496 r32501  
    7575        {
    7676            pTbl->paData[i] = pvData;
     77            ++pTbl->cData;
     78            Assert(pTbl->cData <= pTbl->cSize);
    7779            ++pTbl->iNext2Search;
    7880            pTbl->iNext2Search %= pTbl->cSize;
     
    9294        PVOID pvData = pTbl->paData[iIndex];
    9395        pTbl->paData[iIndex] = NULL;
     96        --pTbl->cData;
     97        Assert(pTbl->cData <= pTbl->cSize);
    9498        pTbl->iNext2Search = iIndex;
    9599        return pvData;
     
    449453    {
    450454        vboxWddmSwapchainDestroy(pDevExt, pSwapchain);
     455        pSwapchainInfo->SwapchainInfo.hSwapchainKm = 0;
    451456    }
    452457
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