Changeset 42518 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack
- Timestamp:
- Aug 1, 2012 4:54:38 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79683
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r42499 r42518 160 160 if (CRPACKSPU_IS_WDDM_CRHGSMI()) 161 161 { 162 ThreadInfo *thread; 163 CRPackContext * curPacker = crPackGetContext(); 164 if (!con) 165 { 166 crError("connection expected!!"); 162 GET_THREAD(thread); 163 if (con) 164 { 165 CRPackContext * curPacker = crPackGetContext(); 166 CRASSERT(!thread || !thread->bInjectThread); 167 thread = GET_THREAD_VAL_ID(con); 168 crPackSetContext(thread->packer); 169 crPackWindowDestroy(window); 170 if (curPacker != thread->packer) 171 crPackSetContext(curPacker); 167 172 return; 168 173 } 169 thread = GET_THREAD_VAL_ID(con); 170 crPackSetContext(thread->packer); 171 crPackWindowDestroy(window); 172 if (curPacker != thread->packer) 173 crPackSetContext(curPacker); 174 return; 174 CRASSERT(thread); 175 CRASSERT(thread->bInjectThread); 175 176 } 176 177 crPackWindowDestroy(window);
Note:
See TracChangeset
for help on using the changeset viewer.