VirtualBox

Ignore:
Timestamp:
Apr 25, 2014 12:51:03 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93459
Message:

crOpenGL: crcmd enhancements & fixes; osx deadlock fix; temporary disabled crcmd for testing

File:
1 edited

Legend:

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

    r51121 r51141  
    693693            || pScreen->u16BitsPerPixel != 32)
    694694    {
    695         RTRECT SrcRect;
     695        RTRECTSIZE SrcRectSize;
    696696        RTRECT DstRect;
    697697
     
    718718        pScreenshot->Img.bpp = 32;
    719719        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;
    724722        DstRect.xLeft = 0;
    725723        DstRect.yTop = 0;
    726724        DstRect.xRight = width;
    727725        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);
    729727        if (!RT_SUCCESS(rc))
    730728        {
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