summaryrefslogtreecommitdiffstats
path: root/src/glu/mesa/tess.c
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2000-01-20 21:52:01 +0000
committerGareth Hughes <[email protected]>2000-01-20 21:52:01 +0000
commit99dd0d4092b2a30546359e4513b9a0dbca2e9483 (patch)
tree52636ac872bf3f19ed764da8cbc2c06514a74fc5 /src/glu/mesa/tess.c
parente257733d0348933663ed264963d034a71f584622 (diff)
Merged in fixes from 3.2 branch. Fixed clipping bug, segfault in
vertex sorting function. Debug is now enabled with MESA_TESS_DBG_LEVEL environment variable.
Diffstat (limited to 'src/glu/mesa/tess.c')
-rw-r--r--src/glu/mesa/tess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/mesa/tess.c b/src/glu/mesa/tess.c
index f48c6a01719..4f91d135e85 100644
--- a/src/glu/mesa/tess.c
+++ b/src/glu/mesa/tess.c
@@ -1,4 +1,4 @@
-/* $Id: tess.c,v 1.22 1999/12/06 09:39:34 gareth Exp $ */
+/* $Id: tess.c,v 1.23 2000/01/20 21:52:01 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -558,8 +558,8 @@ GLUtesselator* GLAPIENTRY gluNewTess( void )
GLUtesselator *tobj;
#ifdef DEBUG
- if ( getenv( "GLU_TESS_DBG_LEVEL" ) ) {
- tess_dbg_level = atoi( getenv( "GLU_TESS_DBG_LEVEL" ) );
+ if ( getenv( "MESA_TESS_DBG_LEVEL" ) ) {
+ tess_dbg_level = atoi( getenv( "MESA_TESS_DBG_LEVEL" ) );
} else {
tess_dbg_level = DBG_LEVEL_BASE;
}