VirtualBox

Ignore:
Timestamp:
May 19, 2010 8:35:48 PM (15 years ago)
Author:
vboxsync
Message:

wddm: more 2D support impl

File:
1 edited

Legend:

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

    r28800 r29670  
    214214PVBOXVDMACBUF_DR vboxVdmaCBufDrCreate (PVBOXVDMAINFO pInfo, uint32_t cbTrailingData)
    215215{
    216     uint32_t cbDr = sizeof (VBOXVDMACBUF_DR) + cbTrailingData;
     216    uint32_t cbDr = VBOXVDMACBUF_DR_SIZE(cbTrailingData);
    217217    PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)VBoxSHGSMICommandAlloc (&pInfo->CmdHeap, cbDr, HGSMI_CH_VBVA, VBVA_VDMA_CMD);
    218218    Assert(pDr);
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