Merged in fixes from 3.2 branch. Fixed clipping bug, segfault in
authorGareth Hughes <gareth@valinux.com>
Thu, 20 Jan 2000 21:52:01 +0000 (21:52 +0000)
committerGareth Hughes <gareth@valinux.com>
Thu, 20 Jan 2000 21:52:01 +0000 (21:52 +0000)
vertex sorting function.

Debug is now enabled with MESA_TESS_DBG_LEVEL environment variable.

src/glu/mesa/tess.c

index f48c6a01719afbc3ff5c7d054428078fbcb8b69c..4f91d135e854b766cb10f3e14ff6742340efe3a9 100644 (file)
@@ -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;
     }