Changeset 43891 in vbox
- Timestamp:
- Nov 15, 2012 9:38:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp
r43888 r43891 138 138 for (uint32_t i = 0; i < cRects; ++i) 139 139 { 140 pEntry->paSrcRects[i].xLeft = ( pEntry->paDstRects[i].xLeft - pEntry->Pos.x) * pPresenter->StretchX;141 pEntry->paSrcRects[i].yTop = ( pEntry->paDstRects[i].yTop - pEntry->Pos.y) * pPresenter->StretchY;142 pEntry->paSrcRects[i].xRight = ( pEntry->paDstRects[i].xRight - pEntry->Pos.x) * pPresenter->StretchX;143 pEntry->paSrcRects[i].yBottom = ( pEntry->paDstRects[i].yBottom - pEntry->Pos.y) * pPresenter->StretchY;140 pEntry->paSrcRects[i].xLeft = (int32_t)((pEntry->paDstRects[i].xLeft - pEntry->Pos.x) * pPresenter->StretchX); 141 pEntry->paSrcRects[i].yTop = (int32_t)((pEntry->paDstRects[i].yTop - pEntry->Pos.y) * pPresenter->StretchY); 142 pEntry->paSrcRects[i].xRight = (int32_t)((pEntry->paDstRects[i].xRight - pEntry->Pos.x) * pPresenter->StretchX); 143 pEntry->paSrcRects[i].yBottom = (int32_t)((pEntry->paDstRects[i].yBottom - pEntry->Pos.y) * pPresenter->StretchY); 144 144 } 145 145
Note:
See TracChangeset
for help on using the changeset viewer.