Changeset 27389 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 15, 2010 11:07:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r27383 r27389 144 144 cbDstLine = !(cbDstLine & 7) ? cbDstLine >> 3 : (cbDstLine >> 3) + 1; 145 145 Assert(cbDstLine <= pDstDesc->pitch); 146 uint32_t cbDstSkip = pDstDesc->pitch - cbDstLine;146 uint32_t cbDstSkip = pDstDesc->pitch; 147 147 uint8_t * pvDstStart = pvDstSurf + offDstStart; 148 148 … … 151 151 cbSrcLine = !(cbSrcLine & 7) ? cbSrcLine >> 3 : (cbSrcLine >> 3) + 1; 152 152 Assert(cbSrcLine <= pSrcDesc->pitch); 153 uint32_t cbSrcSkip = pSrcDesc->pitch - cbSrcLine;153 uint32_t cbSrcSkip = pSrcDesc->pitch; 154 154 const uint8_t * pvSrcStart = pvSrcSurf + offSrcStart; 155 155
Note:
See TracChangeset
for help on using the changeset viewer.