Changeset 30139 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Jun 9, 2010 7:10:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r30138 r30139 1544 1544 hr = pDevice->pDevice9If->DrawPrimitiveUP(pData->PrimitiveType, 1545 1545 pData->PrimitiveCount, 1546 pDevice->aStreamSourceUm[0].pvBuffer,1546 ((uint8_t*)pDevice->aStreamSourceUm[0].pvBuffer) + pData->VStart * pDevice->aStreamSourceUm[0].cbStride, 1547 1547 pDevice->aStreamSourceUm[0].cbStride); 1548 1548 Assert(hr == S_OK); … … 1550 1550 else 1551 1551 { 1552 AssertBreakpoint(); 1553 hr = pDevice->pDevice9If->DrawPrimitive(pData->PrimitiveType, 1554 pData->VStart, 1555 pData->PrimitiveCount); 1556 #if 0 1552 1557 IDirect3DVertexDeclaration9* pDecl; 1553 1558 hr = pDevice->pDevice9If->GetVertexDeclaration(&pDecl); … … 1755 1760 } 1756 1761 } 1762 #endif 1757 1763 } 1758 1764 vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
Note:
See TracChangeset
for help on using the changeset viewer.