From: Brian Paul Date: Wed, 7 Feb 2001 18:44:55 +0000 (+0000) Subject: added divide by zero checks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4736f5e17b23d82ab369c26370c8ff26c45d1d1;p=mesa.git added divide by zero checks --- 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