- Timestamp:
- May 3, 2015 2:35:17 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99991
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/context.c
r53594 r55618 477 477 */ 478 478 ContextInfo * 479 stubNewContext( const char *dpyName, GLint visBits, ContextType type, 480 unsigned long shareCtx 479 stubNewContext(char *dpyName, GLint visBits, ContextType type, unsigned long shareCtx 481 480 #if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST) 482 481 , struct VBOXUHGSMI *pHgsmi … … 692 691 693 692 void 694 stubGetWindowGeometry( constWindowInfo *window, int *x, int *y,693 stubGetWindowGeometry(WindowInfo *window, int *x, int *y, 695 694 unsigned int *w, unsigned int *h ) 696 695 { … … 1131 1130 if (!spuConnection) 1132 1131 { 1133 cr Warning("VBoxConCreate failed");1132 crError("VBoxConCreate failed"); 1134 1133 return GL_FALSE; 1135 1134 } … … 1393 1392 1394 1393 context = (ContextInfo *) crHashtableSearch(stub.contextTable, contextId); 1395 1396 CRASSERT(context);1397 1398 stubDestroyContextLocked(context);1394 if (context) 1395 stubDestroyContextLocked(context); 1396 else 1397 crError("No context."); 1399 1398 1400 1399 #ifdef CHROMIUM_THREADSAFE
Note:
See TracChangeset
for help on using the changeset viewer.