Added debugging pragma message.
authorGareth Hughes <gareth@valinux.com>
Wed, 15 Sep 1999 02:12:16 +0000 (02:12 +0000)
committerGareth Hughes <gareth@valinux.com>
Wed, 15 Sep 1999 02:12:16 +0000 (02:12 +0000)
src/glu/mesa/tess.h

index 8ebb832c8af28567cbff2b89ee6d753170959f11..15eef76bc1b455b4aeb78d730fc18192a66a001d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: tess.h,v 1.5 1999/09/14 22:46:02 gareth Exp $ */
+/* $Id: tess.h,v 1.6 1999/09/15 02:12:16 gareth Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -26,6 +26,9 @@
 
 /*
  * $Log: tess.h,v $
+ * Revision 1.6  1999/09/15 02:12:16  gareth
+ * Added debugging pragma message.
+ *
  * Revision 1.5  1999/09/14 22:46:02  gareth
  * Added debugging output.
  *
@@ -95,12 +98,13 @@ extern void tess_error_callback( GLUtesselator *, GLenum, void * );
 extern int     tess_debug_level;
 int vdebugstr( char *format_str, ... );
 
+#pragma message( "tess: using DEBUGP for debugging output" )
 #define DEBUGP(level, body)                                            \
     do {                                                               \
        if ( tess_debug_level >= level ) {                              \
            vdebugstr( "%11.11s:%-5d ", __FILE__, __LINE__, level );    \
            vdebugstr body;                                             \
-           fflush ( stderr );                                          \
+           fflush( stderr );                                           \
        }                                                               \
     } while ( 0 )
 #define DEBUGIF(level)          do { if ( tess_debug_level >= level ) {