Changeset 51141 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
- Timestamp:
- Apr 25, 2014 12:51:03 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93459
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r51121 r51141 693 693 || pScreen->u16BitsPerPixel != 32) 694 694 { 695 RTRECT SrcRect;695 RTRECTSIZE SrcRectSize; 696 696 RTRECT DstRect; 697 697 … … 718 718 pScreenshot->Img.bpp = 32; 719 719 pScreenshot->Img.pitch = pitch; 720 SrcRect.xLeft = 0; 721 SrcRect.yTop = 0; 722 SrcRect.xRight = pScreen->u32Width; 723 SrcRect.yBottom = pScreen->u32Height; 720 SrcRectSize.cx = pScreen->u32Width; 721 SrcRectSize.cy = pScreen->u32Height; 724 722 DstRect.xLeft = 0; 725 723 DstRect.yTop = 0; 726 724 DstRect.xRight = width; 727 725 DstRect.yBottom = height; 728 int rc = CrFbBltGetContents (hFb, &SrcRect, &DstRect, 1, &DstRect, &pScreenshot->Img);726 int rc = CrFbBltGetContentsEx(hFb, &SrcRectSize, &DstRect, 1, &DstRect, &pScreenshot->Img); 729 727 if (!RT_SUCCESS(rc)) 730 728 {
Note:
See TracChangeset
for help on using the changeset viewer.