Changeset 78375 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_context.c
- Timestamp:
- May 3, 2019 9:51:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_context.c
r78341 r78375 394 394 /* Fill in the new context info */ 395 395 /* XXX fix-up sharedCtx param here */ 396 pack_spu.context[slot].clientState = crStateCreateContext( NULL, visual, NULL);396 pack_spu.context[slot].clientState = crStateCreateContext(&pack_spu.StateTracker, NULL, visual, NULL); 397 397 pack_spu.context[slot].clientState->bufferobject.retainBufferData = GL_TRUE; 398 398 pack_spu.context[slot].serverCtx = serverCtx; … … 442 442 443 443 crPackDestroyContext( context->serverCtx ); 444 crStateDestroyContext( context->clientState );444 crStateDestroyContext(&pack_spu.StateTracker, context->clientState ); 445 445 446 446 context->clientState = NULL; … … 463 463 crPackSetContext(NULL); 464 464 } 465 crStateMakeCurrent( NULL);465 crStateMakeCurrent(&pack_spu.StateTracker, NULL); 466 466 } 467 467 else … … 540 540 } 541 541 542 crStateMakeCurrent( newCtx->clientState );542 crStateMakeCurrent(&pack_spu.StateTracker, newCtx->clientState ); 543 543 //crStateSetCurrentPointers(newCtx->clientState, &thread->packer->current); 544 544 serverCtx = pack_spu.context[slot].serverCtx; 545 545 } 546 546 else { 547 crStateMakeCurrent( NULL );547 crStateMakeCurrent(&pack_spu.StateTracker, NULL ); 548 548 if (CRPACKSPU_IS_WDDM_CRHGSMI()) 549 549 {
Note:
See TracChangeset
for help on using the changeset viewer.