Changeset 50552 in vbox
- Timestamp:
- Feb 24, 2014 9:34:35 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92406
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r50497 r50552 5160 5160 AssertRC(rc); 5161 5161 5162 /* This method only works if the VGA device is in a VBE mode. */ 5163 if ((pThis->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED) == 0) 5164 { 5165 PDMCritSectLeave(&pThis->CritSect); 5166 return VERR_INVALID_STATE; 5167 } 5168 5162 5169 vga_draw_line = vga_draw_line_table[v * 4 + get_depth_index(u32DstBitsPerPixel)]; 5163 5170 -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r50413 r50552 2687 2687 { 2688 2688 RTMemFree(pu8Data); 2689 2690 /* CopyRect can fail if VBVA was paused in VGA device, retry using the generic method. */ 2691 if ( rc == VERR_INVALID_STATE 2692 && aScreenId == VBOX_VIDEO_PRIMARY_SCREEN) 2693 { 2694 rc = pDisplay->mpDrv->pUpPort->pfnTakeScreenshot(pDisplay->mpDrv->pUpPort, 2695 ppu8Data, pcbData, pu32Width, pu32Height); 2696 } 2689 2697 } 2690 2698 }
Note:
See TracChangeset
for help on using the changeset viewer.