From b4736f5e17b23d82ab369c26370c8ff26c45d1d1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 7 Feb 2001 18:44:55 +0000 Subject: added divide by zero checks --- src/mesa/swrast/s_triangle.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index d268b2e754d..9f3f2fe54b1 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.11 2001/02/06 21:42:49 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.12 2001/02/07 18:44:55 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1618,7 +1618,7 @@ static void general_textured_triangle( GLcontext *ctx, if (n>0) { \ if (flat_shade) { \ for (i=0;i0) { \ if (flat_shade) { \ for (i=0;i0) { \ if (flat_shade) { \ for (i=0;i0) { \ if (flat_shade) { \ for (i=0;i