Changeset 50754 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
- Timestamp:
- Mar 12, 2014 5:43:09 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92767
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r50625 r50754 687 687 || pScreen->u16BitsPerPixel != 32) 688 688 { 689 RTRECT Rect; 689 RTRECT SrcRect; 690 RTRECT DstRect; 690 691 691 692 pScreenshot->Img.cbData = pScreen->u32LineSize * pScreen->u32Height; … … 711 712 pScreenshot->Img.bpp = 32; 712 713 pScreenshot->Img.pitch = pitch; 713 Rect.xLeft = 0; 714 Rect.yTop = 0; 715 Rect.xRight = pScreen->u32Width; 716 Rect.yBottom = pScreen->u32Height; 717 int rc = CrFbBltGetContents(hFb, &Rect, 1, &Rect, &pScreenshot->Img); 714 SrcRect.xLeft = 0; 715 SrcRect.yTop = 0; 716 SrcRect.xRight = pScreen->u32Width; 717 SrcRect.yBottom = pScreen->u32Height; 718 DstRect.xLeft = 0; 719 DstRect.yTop = 0; 720 DstRect.xRight = width; 721 DstRect.yBottom = height; 722 int rc = CrFbBltGetContents(hFb, &SrcRect, &DstRect, 1, &DstRect, &pScreenshot->Img); 718 723 if (!RT_SUCCESS(rc)) 719 724 {
Note:
See TracChangeset
for help on using the changeset viewer.