VirtualBox

Ignore:
Timestamp:
Mar 12, 2014 5:43:09 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92767
Message:

Dev/VGA/crOpenGL/wddm: command thread, more command processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp

    r50625 r50754  
    687687            || pScreen->u16BitsPerPixel != 32)
    688688    {
    689         RTRECT Rect;
     689        RTRECT SrcRect;
     690        RTRECT DstRect;
    690691
    691692        pScreenshot->Img.cbData = pScreen->u32LineSize * pScreen->u32Height;
     
    711712        pScreenshot->Img.bpp = 32;
    712713        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);
    718723        if (!RT_SUCCESS(rc))
    719724        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette