Changeset 41404 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
- Timestamp:
- May 22, 2012 4:41:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
r41258 r41404 103 103 if (cr_server.screenCount<2 && !cr_server.bForceOffscreenRendering) 104 104 { 105 CRScreenViewportInfo *pVieport = &cr_server.screenVieport[mural->screenId]; 105 106 CRASSERT(cr_server.screenCount>0); 106 107 … … 108 109 mural->hY = mural->gY-cr_server.screen[0].y; 109 110 110 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX , mural->hY);111 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX - pVieport->x, mural->hY - pVieport->y); 111 112 112 113 return; … … 157 158 if (overlappingScreenCount<2 && !cr_server.bForceOffscreenRendering) 158 159 { 160 CRScreenViewportInfo *pVieport = &cr_server.screenVieport[mural->screenId]; 161 159 162 if (mural->bUseFBO) 160 163 { … … 163 166 } 164 167 165 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX , mural->hY);168 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX - pVieport->x, mural->hY - pVieport->y); 166 169 } 167 170 else … … 193 196 if (!mural->bUseFBO) 194 197 { 195 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX, mural->hY); 198 CRScreenViewportInfo *pVieport = &cr_server.screenVieport[mural->screenId]; 199 200 cr_server.head_spu->dispatch_table.WindowPosition(mural->spuWindow, mural->hX - pVieport->x, mural->hY - pVieport->y); 196 201 } 197 202 }
Note:
See TracChangeset
for help on using the changeset viewer.