VirtualBox

Ignore:
Timestamp:
Feb 28, 2012 7:09:18 AM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: fixe VSG Open Inventor interop issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_error.h

    r32498 r40267  
    3535/* Throw more info while opengl is not stable */
    3636#if defined(DEBUG) || 1
    37 #define CRASSERT( PRED ) ((PRED)?(void)0:crError( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__))
    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__))
     37# ifdef DEBUG_misha
     38#  include <iprt/assert.h>
     39#  define CRASSERT Assert
     40//extern int g_VBoxFbgFBreakDdi;
     41#  define CR_DDI_PROLOGUE() do { /*if (g_VBoxFbgFBreakDdi) {Assert(0);}*/ } while (0)
     42# else
     43#  define CRASSERT( PRED ) ((PRED)?(void)0:crError( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__))
     44#  define CR_DDI_PROLOGUE() do {} while (0)
     45# endif
     46# 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__))
    3947#else
    40 #define CRASSERT( PRED ) ((void)0)
    41 #define THREADASSERT( PRED ) ((void)0)
     48# define CRASSERT( PRED ) ((void)0)
     49# define THREADASSERT( PRED ) ((void)0)
     50# define CR_DDI_PROLOGUE() do {} while (0)
    4251#endif
    4352
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette