Changeset 30556 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Jul 1, 2010 2:09:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r30554 r30556 1649 1649 pData->VStart, 1650 1650 pData->PrimitiveCount); 1651 Assert(hr == S_OK); 1651 1652 #if 0 1652 1653 IDirect3DVertexDeclaration9* pDecl; … … 3459 3460 if (hr == S_OK) 3460 3461 { 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 } 3461 3472 pDevice->aStreamSource[pData->Stream] = pAlloc; 3462 3473 pDevice->StreamSourceInfo[pData->Stream].uiOffset = pData->Offset;
Note:
See TracChangeset
for help on using the changeset viewer.