- Timestamp:
- Nov 25, 2010 3:40:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r34188 r34377 2672 2672 for (uScreenId = 0; uScreenId < pDisplay->mcMonitors; uScreenId++) 2673 2673 { 2674 if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN) 2674 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[uScreenId]; 2675 2676 if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN && !pFBInfo->pFramebuffer.isNull()) 2675 2677 { 2676 2678 pDisplay->mpDrv->pUpPort->pfnUpdateDisplayAll(pDisplay->mpDrv->pUpPort); … … 2678 2680 else 2679 2681 { 2680 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[uScreenId];2681 2682 2682 if (!pFBInfo->pFramebuffer.isNull()) 2683 2683 { … … 3680 3680 { 3681 3681 /* Make sure that framebuffer contains the same image as the guest VRAM. */ 3682 if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN )3682 if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN && !pFBInfo->pFramebuffer.isNull()) 3683 3683 { 3684 3684 pDrv->pUpPort->pfnUpdateDisplayRect (pDrv->pUpPort, pCmd->x, pCmd->y, pCmd->w, pCmd->h);
Note:
See TracChangeset
for help on using the changeset viewer.