Changeset 45201 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Mar 27, 2013 10:23:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r45148 r45201 683 683 DstRect.xRight = paDstRegions[i].xRight * scaleX; 684 684 DstRect.yBottom = paDstRegions[i].yBottom * scaleY; 685 CrBltBlitTexMural(pBlitter, &pEntry->Tex, &paSrcRegions[i], &DstRect, 1, CRBLT_F_LINEAR );685 CrBltBlitTexMural(pBlitter, &pEntry->Tex, &paSrcRegions[i], &DstRect, 1, CRBLT_F_LINEAR | CRBLT_F_INVERT_YCOORDS); 686 686 } 687 687 } … … 705 705 if (RT_SUCCESS(rc)) 706 706 { 707 CrBltBlitTexMural(pBlitter, &pEntry->Tex, paSrcRegions, paDstRegions, cRegions, CRBLT_F_LINEAR );707 CrBltBlitTexMural(pBlitter, &pEntry->Tex, paSrcRegions, paDstRegions, cRegions, CRBLT_F_LINEAR | CRBLT_F_INVERT_YCOORDS); 708 708 } 709 709 else … … 721 721 if (render_spu.blitterTable) 722 722 { 723 CR_BLITTER_WINDOW * pBltInfo = CrBltMuralGetCurrent(window->pBlitter);724 if (pBltInfo == &window->BltInfo)723 const CR_BLITTER_WINDOW * pBltInfo = CrBltMuralGetCurrentInfo(window->pBlitter); 724 if (pBltInfo->Base.id == window->BltInfo.Base.id) 725 725 { 726 726 CrBltMuralSetCurrent(window->pBlitter, NULL); … … 729 729 else 730 730 { 731 CRASSERT(CrBltMuralGetCurrent (window->pBlitter) == &window->BltInfo);731 CRASSERT(CrBltMuralGetCurrentInfo(window->pBlitter)->Base.id == window->BltInfo.Base.id); 732 732 CrBltMuralSetCurrent(window->pBlitter, NULL); 733 733 CrBltTerm(window->pBlitter);
Note:
See TracChangeset
for help on using the changeset viewer.