Changeset 51457 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.h
- Timestamp:
- May 29, 2014 9:24:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.h
r50984 r51457 145 145 DECLINLINE(void) vboxUhgsmiBaseDxAllocInfoFill(D3DDDI_ALLOCATIONINFO *pDdiAllocInfo, VBOXWDDM_ALLOCINFO *pAllocInfo, uint32_t cbBuffer, VBOXUHGSMI_BUFFER_TYPE_FLAGS fUhgsmiType) 146 146 { 147 memset(pDdiAllocInfo, 0, sizeof (*pDdiAllocInfo)); 147 148 pDdiAllocInfo->pPrivateDriverData = pAllocInfo; 148 149 pDdiAllocInfo->PrivateDriverDataSize = sizeof (*pAllocInfo); 150 memset(pAllocInfo, 0, sizeof (*pAllocInfo)); 149 151 pAllocInfo->enmType = VBOXWDDM_ALLOC_TYPE_UMD_HGSMI_BUFFER; 150 152 pAllocInfo->cbBuffer = cbBuffer; 151 153 pAllocInfo->fUhgsmiType = fUhgsmiType; 152 153 154 } 154 155
Note:
See TracChangeset
for help on using the changeset viewer.