Changeset 44756 in vbox
- Timestamp:
- Feb 19, 2013 5:10:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r44740 r44756 1075 1075 const RTRECT * pDstRect = &paDstRegions[i]; 1076 1076 1077 glBlitFramebufferEXT(pSrcRect->xLeft, pSrcRect->yTop, pSrcRect->xRight, pSrcRect->yBottom, 1078 pDstRect->xLeft, pDstRect->yTop, pDstRect->xRight, pDstRect->yBottom, 1077 glBlitFramebufferEXT(pSrcRect->xLeft, pSrcRect->yTop + m_RootShift.y, 1078 pSrcRect->xRight, pSrcRect->yBottom + m_RootShift.y, 1079 pDstRect->xLeft - m_RootShift.x, pDstRect->yTop, 1080 pDstRect->xRight - m_RootShift.x, pDstRect->yBottom, 1079 1081 GL_COLOR_BUFFER_BIT, GL_LINEAR); 1080 1082 } … … 1210 1212 const RTRECT * pDstRect = &paDstRegions[i]; 1211 1213 1212 glBlitFramebufferEXT(pSrcRect->xLeft, pSrcRect->yTop, pSrcRect->xRight, pSrcRect->yBottom, 1213 pDstRect->xLeft * m_FBOThumbScaleX, pDstRect->yTop * m_FBOThumbScaleY, pDstRect->xRight * m_FBOThumbScaleX, pDstRect->yBottom * m_FBOThumbScaleY, 1214 GL_COLOR_BUFFER_BIT, GL_LINEAR); 1214 glBlitFramebufferEXT(pSrcRect->xLeft, pSrcRect->yTop + m_RootShift.y, 1215 pSrcRect->xRight, pSrcRect->yBottom + m_RootShift.y, 1216 pDstRect->xLeft * m_FBOThumbScaleX, pDstRect->yTop * m_FBOThumbScaleY, 1217 pDstRect->xRight * m_FBOThumbScaleX, pDstRect->yBottom * m_FBOThumbScaleY, 1218 GL_COLOR_BUFFER_BIT, GL_LINEAR); 1215 1219 } 1216 1220 }
Note:
See TracChangeset
for help on using the changeset viewer.