Changeset 44766 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
- Timestamp:
- Feb 20, 2013 3:43:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
r44747 r44766 311 311 SPUDispatchTable *gl = &cr_server.head_spu->dispatch_table; 312 312 CRContextInfo *pMuralContextInfo; 313 int RestoreSpuWindow = -1;314 int RestoreSpuContext = -1;315 313 316 314 CRASSERT(mural->aidFBOs[0]==0); … … 326 324 pMuralContextInfo = &cr_server.MainContextInfo; 327 325 cr_server.head_spu->dispatch_table.MakeCurrent(mural->spuWindow, 0, cr_server.MainContextInfo.SpuContext); 328 RestoreSpuWindow = 0;329 RestoreSpuContext = 0;330 326 } 331 327 … … 420 416 CRASSERT(mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]); 421 417 CrVrScrCompositorEntryTexNameUpdate(&mural->CEntry, mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]); 422 423 if (RestoreSpuWindow >= 0 && RestoreSpuContext >= 0)424 {425 cr_server.head_spu->dispatch_table.MakeCurrent(RestoreSpuWindow, 0, RestoreSpuContext);426 }427 418 } 428 419
Note:
See TracChangeset
for help on using the changeset viewer.