VirtualBox

Changeset 99677 in vbox


Ignore:
Timestamp:
May 8, 2023 3:44:03 PM (23 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157212
Message:

WDDM: align allocation size. bugref:9845

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/VBoxMPDX.cpp

    r98925 r99677  
    351351    pAllocation->enmType = VBOXWDDM_ALLOC_TYPE_D3D;
    352352    pAllocation->dx.desc = *(PVBOXDXALLOCATIONDESC)pAllocationInfo->pPrivateDriverData;
     353    pAllocation->dx.desc.cbAllocation = RT_ALIGN_32(pAllocation->dx.desc.cbAllocation, PAGE_SIZE); /* DXGK expects it to be page aligned. */
    353354    pAllocation->dx.sid = SVGA3D_INVALID_ID;
    354355    pAllocation->dx.mobid = SVGA3D_INVALID_ID;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette