Changeset 32650 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
- Timestamp:
- Sep 20, 2010 7:43:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r32622 r32650 2966 2966 ULONG cbLine = VBOXWDDM_ROUNDBOUND(((width * bpp) + 7) / 8, 4); 2967 2967 ULONG xOffset = offDisplay % cbLine; 2968 if (bpp == 4) 2969 { 2970 xOffset <<= 1; 2971 } 2972 else 2973 { 2974 Assert(!(xOffset%((bpp + 7) >> 3))); 2975 xOffset /= ((bpp + 7) >> 3); 2976 } 2968 2977 ULONG yOffset = offDisplay / cbLine; 2969 2978 Assert(xOffset <= 0xffff);
Note:
See TracChangeset
for help on using the changeset viewer.