From 99dd0d4092b2a30546359e4513b9a0dbca2e9483 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Thu, 20 Jan 2000 21:52:01 +0000 Subject: [PATCH] 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. --- src/glu/mesa/tess.c | 6 +++--- 1 file 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; } -- 2.30.2