- Timestamp:
- Dec 19, 2008 7:44:35 PM (16 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_error.h
r15532 r15709 33 33 DECLEXPORT(void) crError( char *format, ... ) NORETURN_PRINTF; 34 34 35 #ifndef NDEBUG 35 /* Throw more info while opengl is not stable */ 36 #if defined(DEBUG) || 1 36 37 #define CRASSERT( PRED ) ((PRED)?(void)0:crError( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__)) 37 38 #define THREADASSERT( PRED ) ((PRED)?(void)0:crError( "Are you trying to run a threaded app ?\nBuild with 'make threadsafe'\nAssertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__)) -
trunk/src/VBox/GuestHost/OpenGL/util/bufpool.c
r15532 r15709 112 112 Buffer *b = crCalloc(sizeof(Buffer)); 113 113 if (b) { 114 #if ndef NDEBUG114 #ifdef DEBUG 115 115 /* check that the buffer to push isn't already in the pool! */ 116 116 { -
trunk/src/VBox/GuestHost/OpenGL/util/error.c
r15532 r15709 298 298 output = stderr; 299 299 } 300 #if NDEBUG300 #ifndef DEBUG 301 301 /* Release mode: only emit crDebug messages if CR_DEBUG 302 302 * or CR_DEBUG_FILE is set. -
trunk/src/VBox/GuestHost/OpenGL/util/net.c
r15532 r15709 761 761 } 762 762 763 #if ndef NDEBUG763 #ifdef DEBUG 764 764 if ( conn->send_credits > CR_INITIAL_RECV_CREDITS ) 765 765 { … … 794 794 } 795 795 796 #if ndef NDEBUG796 #ifdef DEBUG 797 797 if ( conn->send_credits > CR_INITIAL_RECV_CREDITS ) 798 798 {
Note:
See TracChangeset
for help on using the changeset viewer.