VirtualBox

Ignore:
Timestamp:
Jun 9, 2010 7:10:53 PM (15 years ago)
Author:
vboxsync
Message:

wddm/3d: more impl + bugfixing

File:
1 edited

Legend:

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

    r30138 r30139  
    15441544        hr = pDevice->pDevice9If->DrawPrimitiveUP(pData->PrimitiveType,
    15451545                                  pData->PrimitiveCount,
    1546                                   pDevice->aStreamSourceUm[0].pvBuffer,
     1546                                  ((uint8_t*)pDevice->aStreamSourceUm[0].pvBuffer) + pData->VStart * pDevice->aStreamSourceUm[0].cbStride,
    15471547                                  pDevice->aStreamSourceUm[0].cbStride);
    15481548        Assert(hr == S_OK);
     
    15501550    else
    15511551    {
     1552        AssertBreakpoint();
     1553        hr = pDevice->pDevice9If->DrawPrimitive(pData->PrimitiveType,
     1554                                                pData->VStart,
     1555                                                pData->PrimitiveCount);
     1556#if 0
    15521557        IDirect3DVertexDeclaration9* pDecl;
    15531558        hr = pDevice->pDevice9If->GetVertexDeclaration(&pDecl);
     
    17551760            }
    17561761        }
     1762#endif
    17571763    }
    17581764    vboxVDbgPrintF(("<== "__FUNCTION__", hDevice(0x%p), hr(0x%x)\n", hDevice, hr));
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