VirtualBox

Ignore:
Timestamp:
Jul 1, 2010 2:09:26 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: more impl

File:
1 edited

Legend:

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

    r30554 r30556  
    16491649                                                pData->VStart,
    16501650                                                pData->PrimitiveCount);
     1651        Assert(hr == S_OK);
    16511652#if 0
    16521653        IDirect3DVertexDeclaration9* pDecl;
     
    34593460    if (hr == S_OK)
    34603461    {
     3462        if (pDevice->aStreamSource[pData->Stream] && !pAlloc)
     3463        {
     3464            --pDevice->cStreamSources;
     3465            Assert(pDevice->cStreamSources < UINT32_MAX/2);
     3466        }
     3467        else if (!pDevice->aStreamSource[pData->Stream] && pAlloc)
     3468        {
     3469            ++pDevice->cStreamSources;
     3470            Assert(pDevice->cStreamSources <= RT_ELEMENTS(pDevice->aStreamSource));
     3471        }
    34613472        pDevice->aStreamSource[pData->Stream] = pAlloc;
    34623473        pDevice->StreamSourceInfo[pData->Stream].uiOffset = pData->Offset;
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