VirtualBox

Changeset 50378 in vbox


Ignore:
Timestamp:
Feb 10, 2014 10:16:12 AM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: scaled screenshot working properly

File:
1 edited

Legend:

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

    r50371 r50378  
    279279
    280280    CrBmpScale32(pu8Dst, pDst->pitch,
    281                         CR_FLOAT_RCAST(int32_t, strX * pCopyRect->xRight - pCopyRect->xLeft),
    282                         CR_FLOAT_RCAST(int32_t, strY * pCopyRect->yBottom - pCopyRect->yTop),
     281                        CR_FLOAT_RCAST(int32_t, strX * (pCopyRect->xRight - pCopyRect->xLeft)),
     282                        CR_FLOAT_RCAST(int32_t, strY * (pCopyRect->yBottom - pCopyRect->yTop)),
    283283                        pu8Src,
    284284                        fSrcInvert ? -pSrc->pitch : pSrc->pitch,
Note: See TracChangeset for help on using the changeset viewer.

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