Changeset 108394 in vbox
- Timestamp:
- Feb 26, 2025 2:23:34 PM (8 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167758
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r108393 r108394 1265 1265 default: 1266 1266 pSourceImage = new QImage(pSourceImage->scaled(effectiveSize, Qt::IgnoreAspectRatio, 1267 transformationMode(scalingOptimizationType(), m_dScaleFactor)));1267 transformationMode(scalingOptimizationType(), scaleFactor()))); 1268 1268 break; 1269 1269 } … … 1287 1287 1288 1288 /* Make sure hidpi paint rectangle is within the image boundary: */ 1289 paintRectHiDPI = paintRectHiDPI.intersected(pSourceImage->rect());1289 paintRectHiDPI &= pSourceImage->rect(); 1290 1290 if (paintRectHiDPI.isEmpty()) 1291 1291 return; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r108367 r108394 808 808 /* Limit the resulting part by the viewport rectangle: */ 809 809 rect &= viewport()->rect(); 810 if (rect.isEmpty()) 811 return; 810 812 811 813 /* Update corresponding viewport part: */
Note:
See TracChangeset
for help on using the changeset viewer.