Changeset 45348 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
- Timestamp:
- Apr 4, 2013 7:46:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c
r45248 r45348 743 743 } 744 744 745 void crServerVBoxBlitterWinInit(CRMuralInfo *mural, CR_BLITTER_WINDOW *win)746 {747 win->Base.id = mural->spuWindow;748 win->Base.visualBits = mural->CreateInfo.visualBits;749 win->width = mural->width;750 win->height = mural->height;751 }752 753 745 int crServerVBoxBlitterBlitCurrentCtx(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, 754 746 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, … … 812 804 } 813 805 814 crServerVBoxBlitterWinInit(mural, &BltInfo); 806 crServerVBoxBlitterWinInit(&BltInfo, mural); 807 808 crServerVBoxBlitterCtxInit(&Ctx, cr_server.curClient->currentCtxInfo); 815 809 816 810 CrBltMuralSetCurrent(pBlitter, &BltInfo); 817 818 Ctx.Base.id = cr_server.curClient->currentCtxInfo->SpuContext;819 if (Ctx.Base.id < 0)820 Ctx.Base.id = cr_server.MainContextInfo.SpuContext;821 Ctx.Base.visualBits = cr_server.curClient->currentCtxInfo->CreateInfo.visualBits;822 811 823 812 idDrawFBO = mural->aidFBOs[mural->iCurDrawBuffer];
Note:
See TracChangeset
for help on using the changeset viewer.