Changeset 44290 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Jan 14, 2013 9:49:11 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83199
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/render
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r43748 r44290 177 177 CRASSERT(ctx); 178 178 179 if (ctx == 0) 180 { 181 crWarning("request to destroy a default context, ignoring"); 182 return; 183 } 184 179 185 context = (ContextInfo *) crHashtableSearch(render_spu.contextTable, ctx); 180 186 CRASSERT(context); … … 352 358 { 353 359 renderspuMakeCurrent(0, 0, pCtx->id); 360 pCtx->currentWindow=0; 354 361 } 355 362 } … … 362 369 363 370 CRASSERT(win >= 0); 371 if (win == 0) 372 { 373 crWarning("request to destroy a default mural, ignoring"); 374 return; 375 } 364 376 window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, win); 365 377 if (window) { -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c
r43285 r44290 1254 1254 } 1255 1255 1256 sharedContext->currentWindow = window;1257 1258 1256 return GL_TRUE; 1259 1257 }
Note:
See TracChangeset
for help on using the changeset viewer.