Changeset 32650 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Sep 20, 2010 7:43:03 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Files:
-
- 2 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); -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoMisc.cpp
r32501 r32650 69 69 return VBOXWDDM_HANDLE_INVALID; 70 70 } 71 for (UINT i = pTbl->iNext2Search; ++i, i %= pTbl->cSize;)71 for (UINT i = pTbl->iNext2Search; ; ++i, i %= pTbl->cSize) 72 72 { 73 73 Assert(i < pTbl->cSize);
Note:
See TracChangeset
for help on using the changeset viewer.