- Timestamp:
- May 21, 2014 9:56:34 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93799
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_context.c
r51317 r51319 503 503 504 504 if (thread->currentContext && newCtx != thread->currentContext && thread->currentContext->fCheckZerroVertAttr) 505 {506 505 crStateCurrentRecoverNew(thread->currentContext->clientState, &thread->packer->current); 507 crStateResetCurrentPointers(&thread->packer->current); 508 } 506 509 507 thread->currentContext = newCtx; 510 508 crPackSetContext( thread->packer ); -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c
r51313 r51319 132 132 133 133 if (ctx && ctx->fCheckZerroVertAttr) 134 {135 134 crStateCurrentRecoverNew(ctx->clientState, &thread->packer->current); 136 crStateResetCurrentPointers(&thread->packer->current);137 }138 135 139 136 /* We're done packing into the current buffer, unbind it */ -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_client.c
r51314 r51319 1665 1665 1666 1666 crStateCurrentRecoverNew(g, current); 1667 crStateResetCurrentPointers(current);1668 1667 1669 1668 crMemcpy(pZva, &g->current.vertexAttrib[0][0], sizeof (*pZva) * 4); -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_current.py
r51313 r51319 477 477 print '\t\tcurrent->changed%s = 0;' % k 478 478 print '\t}' 479 print '\tcrStateResetCurrentPointers(current);' 479 480 print '}'
Note:
See TracChangeset
for help on using the changeset viewer.