Changeset 42591 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_context.c
- Timestamp:
- Aug 4, 2012 2:35:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_context.c
r42528 r42591 61 61 thread->netServer.name = crStrdup( pack_spu.name ); 62 62 thread->netServer.buffer_size = pack_spu.buffer_size; 63 if (pack_spu.numThreads == 0) { 64 packspuConnectToServer( &(thread->netServer) 65 #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST) 66 , pHgsmi 67 #endif 68 ); 69 if (!thread->netServer.conn) { 70 return NULL; 71 } 72 pack_spu.swap = thread->netServer.conn->swap; 73 } 74 else { 75 /* a new pthread */ 76 crNetNewClient(&(thread->netServer) 77 #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST) 78 , pHgsmi 79 #endif 80 ); 81 CRASSERT(thread->netServer.conn); 82 } 83 63 packspuConnectToServer( &(thread->netServer) 64 #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST) 65 , pHgsmi 66 #endif 67 ); 68 CRASSERT(thread->netServer.conn); 84 69 /* packer setup */ 85 70 CRASSERT(thread->packer == NULL);
Note:
See TracChangeset
for help on using the changeset viewer.