Changeset 50928 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVbva.cpp
- Timestamp:
- Mar 31, 2014 2:14:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVbva.cpp
r50921 r50928 1133 1133 uint32_t cbInitBuffer = cbBuffer; 1134 1134 uint32_t i = 0; 1135 VBOXCMDVBVAPAGEIDX *pPageNumbers = pCmd-> aPageNumbers;1136 1137 cbBuffer -= RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, aPageNumbers);1135 VBOXCMDVBVAPAGEIDX *pPageNumbers = pCmd->Data.aPageNumbers; 1136 1137 cbBuffer -= RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, Data.aPageNumbers); 1138 1138 1139 1139 for (; i < cPages && cbBuffer >= sizeof (*pPageNumbers); ++i, cbBuffer -= sizeof (*pPageNumbers)) … … 1143 1143 1144 1144 *pcPagesWritten = i; 1145 Assert(cbInitBuffer - cbBuffer == RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, aPageNumbers[i]));1145 Assert(cbInitBuffer - cbBuffer == RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, Data.aPageNumbers[i])); 1146 1146 return cbInitBuffer - cbBuffer; 1147 1147 }
Note:
See TracChangeset
for help on using the changeset viewer.