Changeset 28927 in vbox
- Timestamp:
- Apr 30, 2010 11:07:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r28800 r28927 1145 1145 */ 1146 1146 RTRECT rectFramebuffer; 1147 rectFramebuffer.xLeft = pFBInfo->xOrigin; 1148 rectFramebuffer.yTop = pFBInfo->yOrigin; 1149 rectFramebuffer.xRight = pFBInfo->xOrigin + pFBInfo->w; 1150 rectFramebuffer.yBottom = pFBInfo->yOrigin + pFBInfo->h; 1147 if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN) 1148 { 1149 rectFramebuffer.xLeft = 0; 1150 rectFramebuffer.yTop = 0; 1151 if (mpDrv) 1152 { 1153 rectFramebuffer.xRight = mpDrv->IConnector.cx; 1154 rectFramebuffer.yBottom = mpDrv->IConnector.cy; 1155 } 1156 else 1157 { 1158 rectFramebuffer.xRight = 0; 1159 rectFramebuffer.yBottom = 0; 1160 } 1161 } 1162 else 1163 { 1164 rectFramebuffer.xLeft = pFBInfo->xOrigin; 1165 rectFramebuffer.yTop = pFBInfo->yOrigin; 1166 rectFramebuffer.xRight = pFBInfo->xOrigin + pFBInfo->w; 1167 rectFramebuffer.yBottom = pFBInfo->yOrigin + pFBInfo->h; 1168 } 1151 1169 1152 1170 uint32_t cRectVisibleRegion = 0;
Note:
See TracChangeset
for help on using the changeset viewer.