Changeset 27222 in vbox
- Timestamp:
- Mar 9, 2010 4:36:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r27220 r27222 1000 1000 BYTE *pMem; 1001 1001 m_pFrameBuffer->GetAddress(&pMem); 1002 QImage shot = QImage(pMem, m_pFrameBuffer->width(), m_pFrameBuffer->height(), QImage::Format_RGB32); 1002 /* Make a *real* depth copy out of the current framebuffer content. */ 1003 QImage shot = QImage(pMem, m_pFrameBuffer->width(), m_pFrameBuffer->height(), QImage::Format_RGB32).copy(); 1003 1004 dimImage(shot); 1004 1005 m_pauseShot = QPixmap::fromImage(shot); … … 1038 1039 CDisplay dsp = session().GetConsole().GetDisplay(); 1039 1040 dsp.InvalidateAndUpdate(); 1041 /* There seems to be a bug in InvalidateAndUpdate. That is, 1042 * only the primary screen get updated. Manually force a 1043 * repaint on this screen. */ 1044 if (screenId() > 0) 1045 viewport()->repaint(); 1040 1046 } 1041 1047 }
Note:
See TracChangeset
for help on using the changeset viewer.