Added debugging output.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: tess.h,v 1.4 1999/09/13 22:20:13 gareth Exp $ */
|
/* $Id: tess.h,v 1.5 1999/09/14 22:46:02 gareth Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mesa 3-D graphics library
|
* Mesa 3-D graphics library
|
||||||
@@ -26,6 +26,9 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: tess.h,v $
|
* $Log: tess.h,v $
|
||||||
|
* Revision 1.5 1999/09/14 22:46:02 gareth
|
||||||
|
* Added debugging output.
|
||||||
|
*
|
||||||
* Revision 1.4 1999/09/13 22:20:13 gareth
|
* Revision 1.4 1999/09/13 22:20:13 gareth
|
||||||
* Fixed file headers. Tracking down macro bugs.
|
* Fixed file headers. Tracking down macro bugs.
|
||||||
*
|
*
|
||||||
@@ -88,10 +91,10 @@ extern void tess_error_callback( GLUtesselator *, GLenum, void * );
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Debugging output: (to be removed...)
|
* Debugging output: (to be removed...)
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
#ifdef DEBUG
|
||||||
extern int tess_debug_level;
|
extern int tess_debug_level;
|
||||||
int vdebugstr( char *format_str, ... );
|
int vdebugstr( char *format_str, ... );
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
#define DEBUGP(level, body) \
|
#define DEBUGP(level, body) \
|
||||||
do { \
|
do { \
|
||||||
if ( tess_debug_level >= level ) { \
|
if ( tess_debug_level >= level ) { \
|
||||||
|
Reference in New Issue
Block a user